corrlib/tests/import_project_test.py
Justus Kuhlmann d70e8d32ce
All checks were successful
Pytest / pytest (3.12) (push) Successful in 28s
Pytest / pytest (3.13) (push) Successful in 31s
Pytest / pytest (3.14) (push) Successful in 32s
test/first (#8)
Introducing first very simple tests for tools.py

Reviewed-on: https://www.kuhl-mann.de/git/git/jkuhl/corrlib/pulls/8
2025-12-01 18:06:59 +01:00

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