forked from p15670423/monkey
cc: resolve some flake8 warnings
This commit is contained in:
parent
1fad6b4666
commit
921c4d01ca
|
@ -6,10 +6,6 @@ gevent_monkey.patch_all()
|
||||||
|
|
||||||
import json # noqa: E402
|
import json # noqa: E402
|
||||||
|
|
||||||
from monkey_island.cc.consts import (
|
|
||||||
DEFAULT_SERVER_CONFIG_PATH,
|
|
||||||
DEFAULT_LOGGER_CONFIG_PATH,
|
|
||||||
) # noqa: E402
|
|
||||||
from monkey_island.cc.island_logger import json_setup_logging # noqa: E402
|
from monkey_island.cc.island_logger import json_setup_logging # noqa: E402
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ STANDARD_WITH_CREDENTIALS = os.path.join(
|
||||||
WITH_DATA_DIR = os.path.join(TEST_RESOURCES_DIR, "server_config_with_data_dir.json")
|
WITH_DATA_DIR = os.path.join(TEST_RESOURCES_DIR, "server_config_with_data_dir.json")
|
||||||
WITH_DATA_DIR_HOME = os.path.join(TEST_RESOURCES_DIR, "server_config_with_data_dir_home.json")
|
WITH_DATA_DIR_HOME = os.path.join(TEST_RESOURCES_DIR, "server_config_with_data_dir_home.json")
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def config_file(tmpdir):
|
def config_file(tmpdir):
|
||||||
return os.path.join(tmpdir, "test_config.json")
|
return os.path.join(tmpdir, "test_config.json")
|
||||||
|
|
Loading…
Reference in New Issue