mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
fix stickler complaints
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
ee556088b5
commit
fb454ebe14
@ -581,6 +581,7 @@ def test_os_check_fails(Pihole):
|
|||||||
expected_stdout = 'Unsupported OS detected: UnsupportedOS'
|
expected_stdout = 'Unsupported OS detected: UnsupportedOS'
|
||||||
assert expected_stdout in detectOS.stdout
|
assert expected_stdout in detectOS.stdout
|
||||||
|
|
||||||
|
|
||||||
def test_os_check_passes(Pihole):
|
def test_os_check_passes(Pihole):
|
||||||
''' Confirms OS meets the requirements '''
|
''' Confirms OS meets the requirements '''
|
||||||
Pihole.run('''
|
Pihole.run('''
|
||||||
@ -593,4 +594,4 @@ def test_os_check_passes(Pihole):
|
|||||||
os_check
|
os_check
|
||||||
''')
|
''')
|
||||||
expected_stdout = 'Supported OS detected'
|
expected_stdout = 'Supported OS detected'
|
||||||
assert expected_stdout in detectOS.stdout
|
assert expected_stdout in detectOS.stdout
|
||||||
|
Loading…
Reference in New Issue
Block a user