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

Two FITS tests in afw assume they run relative to AFW_DIR

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Story Points:
      0.5

      Description

      Tests in test_propertyListPersistence.py and test_footprint.py assume that test FITS files are in tests/data rather than looking for them relative to the location of the test file. This breaks them if you attempt to run the afw tests from outside AFW_DIR. The fix is to use _file_. There may also be an executable C++ test that fails in the same way.

        Attachments

          Activity

          Hide
          tjenness Tim Jenness added a comment -

          Can you please have a look at this? It's only 5 lines or so. Thanks.

          Show
          tjenness Tim Jenness added a comment - Can you please have a look at this? It's only 5 lines or so. Thanks.
          Hide
          rowen Russell Owen added a comment -

          Looks great. I listed one minor suggested change on github.

          Show
          rowen Russell Owen added a comment - Looks great. I listed one minor suggested change on github.

            People

            Assignee:
            tjenness Tim Jenness
            Reporter:
            tjenness Tim Jenness
            Reviewers:
            Russell Owen
            Watchers:
            Russell Owen, Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.