From 115368f83d4ea888de35a30f7cacf624097aadb9 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 25 Feb 2021 06:41:12 -0500 Subject: [PATCH] cc: rename DATA_DIR constant in test to WITH_DATA_DIR --- .../monkey_island/cc/environment/test_environment_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/environment/test_environment_config.py b/monkey/monkey_island/cc/environment/test_environment_config.py index a8e8a1beb..6ae765d80 100644 --- a/monkey/monkey_island/cc/environment/test_environment_config.py +++ b/monkey/monkey_island/cc/environment/test_environment_config.py @@ -23,7 +23,7 @@ PARTIAL_CREDENTIALS = os.path.join( STANDARD_WITH_CREDENTIALS = os.path.join( TEST_RESOURCES_DIR, "server_config_standard_with_credentials.json" ) -DATA_DIR = os.path.join(TEST_RESOURCES_DIR, "server_config_data_dir.json") +WITH_DATA_DIR = os.path.join(TEST_RESOURCES_DIR, "server_config_data_dir.json") @pytest.fixture @@ -122,5 +122,5 @@ def test_generate_default_file(config_file): def test_data_dir(): - environment_config = EnvironmentConfig(DATA_DIR) + environment_config = EnvironmentConfig(WITH_DATA_DIR) assert environment_config.data_dir == "/test/data/dir"