From 2cb6c6086669d0b93a79af94a161fd4e951719bf Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 18 Jul 2022 11:47:49 +0200 Subject: [PATCH] UT: Fix credentials intercepting telemetry messenger tests --- ...st_credentials_intercepting_telemetry_messenger.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/monkey/tests/unit_tests/infection_monkey/telemetry/messengers/test_credentials_intercepting_telemetry_messenger.py b/monkey/tests/unit_tests/infection_monkey/telemetry/messengers/test_credentials_intercepting_telemetry_messenger.py index e516baab8..eda8954d7 100644 --- a/monkey/tests/unit_tests/infection_monkey/telemetry/messengers/test_credentials_intercepting_telemetry_messenger.py +++ b/monkey/tests/unit_tests/infection_monkey/telemetry/messengers/test_credentials_intercepting_telemetry_messenger.py @@ -8,13 +8,10 @@ from infection_monkey.telemetry.messengers.credentials_intercepting_telemetry_me TELEM_CREDENTIALS = [ Credentials( - [Username("user1"), Username("user3")], - [ - Password("abcdefg"), - Password("root"), - SSHKeypair(public_key="some_public_key", private_key="some_private_key"), - ], - ) + Username("user1"), + SSHKeypair(public_key="some_public_key", private_key="some_private_key"), + ), + Credentials(Username("root"), Password("password")), ]