From 86cc565b65a6a7262755f2fe2794a521beb0122b Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 30 Mar 2022 13:45:09 -0400 Subject: [PATCH] UT: Remove unused imports --- .../cc/models/telemetries/test_telemetry_dal.py | 3 +-- .../cc/services/zero_trust/test_common/finding_data.py | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/models/telemetries/test_telemetry_dal.py b/monkey/tests/unit_tests/monkey_island/cc/models/telemetries/test_telemetry_dal.py index d3582bf79..345522013 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/models/telemetries/test_telemetry_dal.py +++ b/monkey/tests/unit_tests/monkey_island/cc/models/telemetries/test_telemetry_dal.py @@ -4,8 +4,7 @@ from datetime import datetime import mongoengine import pytest -from monkey_island.cc.models.telemetries import get_telemetry_by_query, save_telemetry -from monkey_island.cc.models.telemetries.telemetry import Telemetry +from monkey_island.cc.models.telemetries import save_telemetry MOCK_CREDENTIALS = { "M0nk3y": { diff --git a/monkey/tests/unit_tests/monkey_island/cc/services/zero_trust/test_common/finding_data.py b/monkey/tests/unit_tests/monkey_island/cc/services/zero_trust/test_common/finding_data.py index 0304b8523..fd085d6c8 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/services/zero_trust/test_common/finding_data.py +++ b/monkey/tests/unit_tests/monkey_island/cc/services/zero_trust/test_common/finding_data.py @@ -2,11 +2,7 @@ from tests.unit_tests.monkey_island.cc.services.zero_trust.test_common.monkey_fi get_monkey_details_dto, ) -from common.common_consts.zero_trust_consts import ( - STATUS_FAILED, - STATUS_PASSED, - TEST_ENDPOINT_SECURITY_EXISTS, -) +from common.common_consts.zero_trust_consts import STATUS_PASSED, TEST_ENDPOINT_SECURITY_EXISTS from monkey_island.cc.models.zero_trust.finding import Finding from monkey_island.cc.models.zero_trust.monkey_finding import MonkeyFinding