add small test for the check meas data function

This commit is contained in:
Justus Kuhlmann 2025-11-20 17:17:53 +01:00
commit a5ca159be0
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

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