From 68a7085ede233302ae899d3d5fc4068cc397576e Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 14 Jul 2022 14:49:11 +0530 Subject: [PATCH] UT: Add placeholder argument to function call in test_process_post_breach_telemetry --- .../cc/services/telemetry/processing/test_post_breach.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/test_post_breach.py b/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/test_post_breach.py index f6d33b930..01a847258 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/test_post_breach.py +++ b/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/test_post_breach.py @@ -69,8 +69,8 @@ expected_telem_single_result = { def test_process_post_breach_telemetry(): post_breach.update_data = Mock() # actual behavior of update_data() is to access mongodb # multiple results in PBA - post_breach.process_post_breach_telemetry(original_telem_multiple_results) + post_breach.process_post_breach_telemetry(original_telem_multiple_results, None) assert original_telem_multiple_results == expected_telem_multiple_results # single result in PBA - post_breach.process_post_breach_telemetry(original_telem_single_result) + post_breach.process_post_breach_telemetry(original_telem_single_result, None) assert original_telem_single_result == expected_telem_single_result