diff --git a/monkey/monkey_island/cc/models/__init__.py b/monkey/monkey_island/cc/models/__init__.py index 9b244a974..3b23fa89f 100644 --- a/monkey/monkey_island/cc/models/__init__.py +++ b/monkey/monkey_island/cc/models/__init__.py @@ -1,14 +1,5 @@ from mongoengine import connect -# Needed so that a server_config.json file exists at the default path, -# otherwise, unit tests will error while importing `env_singleton` below. -from monkey_island.cc.environment import data_dir_generator, server_config_handler # noqa: E402 - -from ..server_utils.consts import DEFAULT_DATA_DIR - -data_dir_generator.create_data_dir(DEFAULT_DATA_DIR, False) -server_config_handler.create_default_server_config_file() - import monkey_island.cc.environment.environment_singleton as env_singleton # noqa: E402 from .command_control_channel import CommandControlChannel # noqa: F401, E402