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

Fix module DA names in tests

parent 7e94a027
No related branches found
No related tags found
1 merge request!885Revised CalCat API
...@@ -67,7 +67,7 @@ def test_DSSC_modules_missing(): ...@@ -67,7 +67,7 @@ def test_DSSC_modules_missing():
) )
# DSSC was used with only 3 quadrants at this point # DSSC was used with only 3 quadrants at this point
modnos = list(range(4)) + list(range(8, 16)) modnos = list(range(4)) + list(range(8, 16))
assert dssc_cd.aggregator_names == ['DSSC{m:02}' for m in modnos] assert dssc_cd.aggregator_names == [f'DSSC{m:02}' for m in modnos]
assert dssc_cd.module_nums == modnos assert dssc_cd.module_nums == modnos
assert dssc_cd.qm_names == [ assert dssc_cd.qm_names == [
f"Q{(m // 4) + 1}M{(m % 4) + 1}" for m in modnos f"Q{(m // 4) + 1}M{(m % 4) + 1}" for m in modnos
......
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