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

Fix attribute name in test

parent 59ab8ecd
No related branches found
No related tags found
1 merge request!885Revised CalCat API
...@@ -59,5 +59,5 @@ def test_AGIPD_CalibrationData_report(): ...@@ -59,5 +59,5 @@ def test_AGIPD_CalibrationData_report():
# Report ID: https://in.xfel.eu/calibration/reports/3757 # Report ID: https://in.xfel.eu/calibration/reports/3757
agipd_cd = CalibrationData.from_report(3757) agipd_cd = CalibrationData.from_report(3757)
assert set(agipd_cd) == {'Offset', 'Noise', 'ThresholdsDark', 'BadPixelsDark'} assert set(agipd_cd) == {'Offset', 'Noise', 'ThresholdsDark', 'BadPixelsDark'}
assert agipd_cd.aggregators == [f'AGIPD{n:02}' for n in range(16)] assert agipd_cd.aggregator_names == [f'AGIPD{n:02}' for n in range(16)]
assert isinstance(agipd_cd['Offset'].constants['AGIPD00'], SingleConstantVersion) assert isinstance(agipd_cd['Offset'].constants['AGIPD00'], SingleConstantVersion)
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