diff --git a/tests/test_atomic_svc.py b/tests/test_atomic_svc.py index d07e602..1329d3d 100644 --- a/tests/test_atomic_svc.py +++ b/tests/test_atomic_svc.py @@ -181,10 +181,13 @@ def test_handle_multiline_command_shell_ifthen(self): def test_use_default_inputs(self, atomic_svc, atomic_test): platform = 'windows' string_to_analyze = '#{recon_commands} -a' - got = atomic_svc._use_default_inputs(test=atomic_test, + test = atomic_test + test['input_arguments']['recon_commands']['default'] = \ + 'PathToAtomicsFolder\\T1016\\src\\nonexistent-qakbot.bat' + got = atomic_svc._use_default_inputs(test=test, platform=platform, string_to_analyse=string_to_analyze) - assert got[0] == 'PathToAtomicsFolder\\T1016\\src\\qakbot.bat -a' + assert got[0] == 'PathToAtomicsFolder\\T1016\\src\\nonexistent-qakbot.bat -a' assert got[1] == [] def test_use_default_inputs_empty_string(self, atomic_svc, atomic_test):