fix stickler complaints

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2020-10-23 23:09:07 +01:00
parent ee556088b5
commit fb454ebe14
No known key found for this signature in database
GPG key ID: 872950F3ECF2B173

View file

@ -581,6 +581,7 @@ def test_os_check_fails(Pihole):
expected_stdout = 'Unsupported OS detected: UnsupportedOS'
assert expected_stdout in detectOS.stdout
def test_os_check_passes(Pihole):
''' Confirms OS meets the requirements '''
Pihole.run('''
@ -593,4 +594,4 @@ def test_os_check_passes(Pihole):
os_check
''')
expected_stdout = 'Supported OS detected'
assert expected_stdout in detectOS.stdout
assert expected_stdout in detectOS.stdout