add small test for the check meas data function
This commit is contained in:
parent
895b8e35ab
commit
a5ca159be0
1 changed files with 17 additions and 0 deletions
17
tests/import_project_test.py
Normal file
17
tests/import_project_test.py
Normal 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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue