|
|
@ -355,7 +355,6 @@ def test_FTL_detect_unknown_no_errors(Pihole):
|
|
|
|
''')
|
|
|
|
''')
|
|
|
|
expected_stdout = 'Not able to detect architecture (unknown: mips)'
|
|
|
|
expected_stdout = 'Not able to detect architecture (unknown: mips)'
|
|
|
|
assert expected_stdout in detectPlatform.stdout
|
|
|
|
assert expected_stdout in detectPlatform.stdout
|
|
|
|
|
|
|
|
|
|
|
|
# Helper functions
|
|
|
|
# Helper functions
|
|
|
|
def mock_command(script, args, container):
|
|
|
|
def mock_command(script, args, container):
|
|
|
|
''' Allows for setup of commands we don't really want to have to run for real in unit tests '''
|
|
|
|
''' Allows for setup of commands we don't really want to have to run for real in unit tests '''
|
|
|
|