appease stickler-ci

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2020-12-01 10:13:36 +00:00
parent 44d020a54c
commit d1539335bc
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
6 changed files with 3 additions and 17 deletions

View File

@ -153,4 +153,4 @@ def mock_command_2(script, args, container):
def run_script(Pihole, script):
result = Pihole.run(script)
assert result.rc == 0
return result
return result

View File

@ -1,8 +1,6 @@
import pytest
from .conftest import (
tick_box,
info_box,
cross_box,
mock_command,
)

View File

@ -1,8 +1,6 @@
import pytest
from .conftest import (
tick_box,
info_box,
cross_box,
mock_command,
)

View File

@ -117,4 +117,4 @@ def test_php_version_lt_7_detected_upgrade_user_optin_centos(Pihole):
assert remi_package.is_installed
updated_php_package = Pihole.package('php')
updated_php_version = updated_php_package.version.split('.')[0]
assert int(updated_php_version) == 7
assert int(updated_php_version) == 7

View File

@ -1,7 +1,5 @@
import pytest
from .conftest import (
tick_box,
info_box,
cross_box,
mock_command,
)
@ -52,6 +50,7 @@ def test_selinux_permissive(Pihole):
assert expected_stdout in check_selinux.stdout
assert check_selinux.rc == 0
def test_selinux_disabled(Pihole):
'''
confirms installer continues when SELinux is Disabled

View File

@ -1,12 +1,3 @@
import pytest
from .conftest import (
tick_box,
info_box,
cross_box,
mock_command,
)
def test_epel_and_remi_not_installed_fedora(Pihole):
'''
confirms installer does not attempt to install EPEL/REMI repositories