UT: Change imports cc.resources.auth.auth -> cc.resources.auth.authenticate

This commit is contained in:
Shreya Malviya 2022-08-01 18:47:12 +05:30
parent b5784f0479
commit a9e13c37ea
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from unittest.mock import MagicMock
import pytest import pytest
from common.utils.exceptions import IncorrectCredentialsError from common.utils.exceptions import IncorrectCredentialsError
from monkey_island.cc.resources.auth.auth import Authenticate from monkey_island.cc.resources.auth.authenticate import Authenticate
USERNAME = "test_user" USERNAME = "test_user"
PASSWORD = "test_password" PASSWORD = "test_password"

View File

@ -7,7 +7,7 @@ from tests.monkey_island import OpenErrorFileRepository
from tests.unit_tests.monkey_island.conftest import init_mock_app from tests.unit_tests.monkey_island.conftest import init_mock_app
import monkey_island.cc.app import monkey_island.cc.app
import monkey_island.cc.resources.auth.auth import monkey_island.cc.resources.auth.authenticate
import monkey_island.cc.resources.island_mode import monkey_island.cc.resources.island_mode
from monkey_island.cc.repository import IFileRepository from monkey_island.cc.repository import IFileRepository