Skip to content
Snippets Groups Projects
Commit 4229e8a0 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Correct what API actually does

parent 3b573aa4
No related branches found
No related tags found
1 merge request!885Revised CalCat API
......@@ -86,8 +86,8 @@ def test_LPD_constant_missing():
assert lpd_cd.module_nums == list(range(16))
assert lpd_cd.qm_names == [f"Q{(m // 4) + 1}M{(m % 4) + 1}" for m in range(16)]
assert len(lpd_cd["Offset"].module_nums) == 16
assert len(lpd_cd["Offset"].constants) == 15
# When we look at a specific constant, module LPD05 is missing
assert lpd_cd["Offset"].module_nums == list(range(0, 5)) + list(range(6, 16))
@pytest.mark.xfail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment