mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
1c286c7bc4
* Select proper PHP version on RPM based OS after INSTALLER_DEPS have been installed * Remove check for unsupported RPM distros as it is checked in os_check already * Add select_rpm_php function to tox tests Signed-off-by: Christian König <ckoenig@posteo.de>
17 lines
526 B
Python
17 lines
526 B
Python
def test_epel_and_remi_not_installed_fedora(Pihole):
|
|
'''
|
|
confirms installer does not attempt to install EPEL/REMI repositories
|
|
on Fedora
|
|
'''
|
|
package_manager_detect = Pihole.run('''
|
|
source /opt/pihole/basic-install.sh
|
|
package_manager_detect
|
|
select_rpm_php
|
|
''')
|
|
assert package_manager_detect.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
|