From a5ca159be04998a8c1c0b67bfeed833122e6d45d Mon Sep 17 00:00:00 2001 From: Justus Kuhlmann Date: Thu, 20 Nov 2025 17:17:53 +0100 Subject: [PATCH] add small test for the check meas data function --- tests/import_project_test.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/import_project_test.py diff --git a/tests/import_project_test.py b/tests/import_project_test.py new file mode 100644 index 0000000..ec8272c --- /dev/null +++ b/tests/import_project_test.py @@ -0,0 +1,17 @@ +import corrlib.toml as t + + +def test_toml_check_measurement_data(): + measurements = { + "a": + { + "path": "/path/to/measurement", + "ensemble": "A1k1", + "param_file": "/path/to/file", + "version": "1.1", + "prefix": "pref", + "cfg_seperator": "n", + "names": ['list', 'of', 'names'] + } + } + t.check_measurement_data(measurements)