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)