2020-12-01 10:02:31 +00:00
|
|
|
def test_epel_and_remi_not_installed_fedora(Pihole):
|
|
|
|
'''
|
|
|
|
confirms installer does not attempt to install EPEL/REMI repositories
|
|
|
|
on Fedora
|
|
|
|
'''
|
2021-08-03 20:48:26 +00:00
|
|
|
package_manager_detect = Pihole.run('''
|
2020-12-01 10:02:31 +00:00
|
|
|
source /opt/pihole/basic-install.sh
|
2021-08-03 20:48:26 +00:00
|
|
|
package_manager_detect
|
2021-09-12 20:40:37 +00:00
|
|
|
select_rpm_php
|
2020-12-01 10:02:31 +00:00
|
|
|
''')
|
2021-08-03 20:48:26 +00:00
|
|
|
assert package_manager_detect.stdout == ''
|
2020-12-01 10:02:31 +00:00
|
|
|
|
|
|
|
epel_package = Pihole.package('epel-release')
|
|
|
|
assert not epel_package.is_installed
|
|
|
|
remi_package = Pihole.package('remi-release')
|
|
|
|
assert not remi_package.is_installed
|