UT: Add placeholder argument to function call in test_process_post_breach_telemetry

This commit is contained in:
Shreya Malviya 2022-07-14 14:49:11 +05:30
parent d6bd84ad66
commit 68a7085ede
1 changed files with 2 additions and 2 deletions

View File

@ -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