mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-27 23:32:21 +00:00
16 lines
477 B
Python
16 lines
477 B
Python
|
def test_epel_and_remi_not_installed_fedora(Pihole):
|
||
|
'''
|
||
|
confirms installer does not attempt to install EPEL/REMI repositories
|
||
|
on Fedora
|
||
|
'''
|
||
|
distro_check = Pihole.run('''
|
||
|
source /opt/pihole/basic-install.sh
|
||
|
distro_check
|
||
|
''')
|
||
|
assert distro_check.stdout == ''
|
||
|
|
||
|
epel_package = Pihole.package('epel-release')
|
||
|
assert not epel_package.is_installed
|
||
|
remi_package = Pihole.package('remi-release')
|
||
|
assert not remi_package.is_installed
|