Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-10132

Make DCR template unit test data robust

    Details

    • Story Points:
      2
    • Sprint:
      Alert Production S17 - 4
    • Team:
      Alert Production

      Description

      The current unit tests for the DCR template generation prototype uses `numpy.save()` and `numpy.load()` to persist and depersist test data. This format is fragile and has already been broken once with the conversion from swig to pybind11, so a more robust test data format should be used.

        Attachments

          Activity

          Hide
          sullivan Ian Sullivan added a comment -

          As suggested, exposures for unit tests are now depersisted using the butler, and tests that use the butler have been condensed into two classes to save time when initializing the butler.

          Show
          sullivan Ian Sullivan added a comment - As suggested, exposures for unit tests are now depersisted using the butler, and tests that use the butler have been condensed into two classes to save time when initializing the butler.

            People

            • Assignee:
              sullivan Ian Sullivan
              Reporter:
              sullivan Ian Sullivan
              Watchers:
              Ian Sullivan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: