Skip to content

Commit

Permalink
Update tests/unit_tests/test_config.py
Browse files Browse the repository at this point in the history
Co-authored-by: Callum Forrester <callum.forrester@diamond.ac.uk>
  • Loading branch information
stan-dot and callumforrester committed Sep 13, 2024
1 parent 94a3146 commit 4d6fbb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit_tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ def test_config_yaml_parsed():
loaded_config = loader.load()

# Assert that the loaded configuration matches the expected values
assert loaded_config.env.sources[0].kind == "dodal"
assert loaded_config.data_writing.visit_directory == "/dls/p38/data/2023/cm33874-1"
assert loaded_config == config_data.model_dump()

# Clean up by removing the temporary file if desired
os.remove(temp_yaml_file_path) # Uncomment if you want to delete the temp file

0 comments on commit 4d6fbb3

Please sign in to comment.