Introducing first very simple tests for tools.py Reviewed-on: https://www.kuhl-mann.de/git/git/jkuhl/corrlib/pulls/8
17 lines
608 B
Python
17 lines
608 B
Python
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, "sfcf")
|