mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
b613758419
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
16 lines
528 B
Python
16 lines
528 B
Python
def test_epel_and_remi_not_installed_fedora(host):
|
|
'''
|
|
confirms installer does not attempt to install EPEL/REMI repositories
|
|
on Fedora
|
|
'''
|
|
package_manager_detect = host.run('''
|
|
source /opt/pihole/basic-install.sh
|
|
package_manager_detect
|
|
check_epel_repo_required
|
|
''')
|
|
assert package_manager_detect.stdout == ''
|
|
|
|
epel_package = host.package('epel-release')
|
|
assert not epel_package.is_installed
|
|
remi_package = host.package('remi-release')
|
|
assert not remi_package.is_installed
|