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)