diff options
| author | Adam Janovsky | 2023-11-14 13:46:39 +0100 |
|---|---|---|
| committer | Adam Janovsky | 2023-11-14 13:46:39 +0100 |
| commit | b7b85a17cc048afb16489a5140366de887cb443a (patch) | |
| tree | 7ced19e76bf9cd9b64663c38f23e9f7026227277 /tests | |
| parent | 80190b01aeda844b9d3ea8684284130c44f1453e (diff) | |
| parent | 1ccca9ae8afa8e6574e1cbba2c93b8d5428e2b2e (diff) | |
| download | sec-certs-b7b85a17cc048afb16489a5140366de887cb443a.tar.gz sec-certs-b7b85a17cc048afb16489a5140366de887cb443a.tar.zst sec-certs-b7b85a17cc048afb16489a5140366de887cb443a.zip | |
merge fresh main
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index a9099327..54e5a8d5 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -42,8 +42,8 @@ def test_config_from_yaml(simple_config_dict, simple_config_yaml: Path) -> None: def test_load_env_values(simple_config_dict, simple_config_yaml): - os.environ["seccerts_log_filepath"] = "/some/nonsense/path" - os.environ["always_false_positive_fips_cert_id_threshold"] = "10" + os.environ["SECCERTS_LOG_FILEPATH"] = "/some/nonsense/path" + os.environ["ALWAYS_FALSE_POSITIVE_FIPS_CERT_ID_THRESHOLD"] = "10" config_module.config.load_from_yaml(simple_config_yaml) @@ -57,7 +57,7 @@ def test_load_env_values(simple_config_dict, simple_config_yaml): def test_complex_config_load(simple_config_dict, simple_config_yaml): config_module.config.year_difference_between_validations = 123456789 config_module.config.n_threads = 987654321 - os.environ["seccerts_n_threads"] = "1" + os.environ["SECCERTS_N_THREADS"] = "1" config_module.config.load_from_yaml(simple_config_yaml) for key, val in simple_config_dict.items(): |
