cc: rename DATA_DIR constant in test to WITH_DATA_DIR

This commit is contained in:
Mike Salvatore 2021-02-25 06:41:12 -05:00
parent 044c656543
commit 115368f83d
1 changed files with 2 additions and 2 deletions

View File

@ -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"