2021-11-18 01:03:37 +00:00
|
|
|
def test_epel_and_remi_not_installed_fedora(host):
|
2022-09-19 12:44:10 +00:00
|
|
|
"""
|
2020-12-01 10:02:31 +00:00
|
|
|
confirms installer does not attempt to install EPEL/REMI repositories
|
|
|
|
on Fedora
|
2022-09-19 12:44:10 +00:00
|
|
|
"""
|
|
|
|
package_manager_detect = host.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
|
2022-09-19 12:44:10 +00:00
|
|
|
"""
|
|
|
|
)
|
|
|
|
assert package_manager_detect.stdout == ""
|
2020-12-01 10:02:31 +00:00
|
|
|
|
2022-09-19 12:44:10 +00:00
|
|
|
epel_package = host.package("epel-release")
|
2020-12-01 10:02:31 +00:00
|
|
|
assert not epel_package.is_installed
|