From 20e3cc0e503f8ca413c90d7d58ff92d45ff8fc8c Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Wed, 6 Apr 2022 18:48:04 +0200 Subject: [PATCH] UT: Fix ssh key processor test --- .../processing/credentials/test_ssh_key_processing.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/credentials/test_ssh_key_processing.py b/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/credentials/test_ssh_key_processing.py index 900166847..6c3161cd3 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/credentials/test_ssh_key_processing.py +++ b/monkey/tests/unit_tests/monkey_island/cc/services/telemetry/processing/credentials/test_ssh_key_processing.py @@ -4,7 +4,6 @@ import dpath.util import pytest from tests.unit_tests.monkey_island.cc.services.telemetry.processing.credentials.conftest import ( CREDENTIAL_TELEM_TEMPLATE, - fake_ip_address, ) from common.config_value_paths import SSH_KEYS_PATH, USER_LIST_PATH @@ -41,6 +40,4 @@ def test_ssh_credential_parsing(): assert len(ssh_keypairs) == 1 assert ssh_keypairs[0]["private_key"] == fake_private_key assert ssh_keypairs[0]["public_key"] == fake_public_key - assert ssh_keypairs[0]["user"] == fake_username - assert ssh_keypairs[0]["ip"] == fake_ip_address assert fake_username in dpath.util.get(config, USER_LIST_PATH)