Skip to content

[Tests] Validate metadata for retrieved constants before validating the corrected files

Karim Ahmed requested to merge test/check_retrieved_constants into master

Description

This MR addresses: https://git.xfel.eu/calibration/pycalibration/-/issues/89

In case the retrieved constants are different, the tests should realize this before validating the corrected files. This help in understanding the reason for the test failure instead of spending time investigating why the files were not validated and have different values.

How Has This Been Tested?

  • Tested locally after changing parameters of one test to get the wrong Calibration constants.
  • CI-InProgress

Relevant Documents (optional)

Types of changes

  • Test (additional or refactored tests)

Checklist:

Reviewers

@kluyvert @schmidtp

Edited by Karim Ahmed

Merge request reports