Skip to content

Commit

Permalink
Merge branch 'tickets/DM-26326' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Dec 4, 2020
2 parents 189da9c + 21cf94c commit 1f79e15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_appipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ def setUpClass(cls):
cls.datadir = lsst.utils.getPackageDir("ap_pipe_testdata")
except pexExcept.NotFoundError:
raise unittest.SkipTest("ap_pipe_testdata not set up")
try:
lsst.utils.getPackageDir("obs_decam")
except LookupError:
raise unittest.SkipTest("obs_decam not set up; needed for ap_pipe_testdata")

def _setupObjPatch(self, *args, **kwargs):
"""Create a patch in setUp that will be reverted once the test ends.
Expand Down
1 change: 1 addition & 0 deletions ups/ap_pipe.table
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ setupRequired(pipe_tasks)
setupRequired(ap_association)

setupOptional(ap_pipe_testdata)
setupOptional(obs_decam)

envPrepend(PYTHONPATH, ${PRODUCT_DIR}/python)
envPrepend(PATH, ${PRODUCT_DIR}/bin)

0 comments on commit 1f79e15

Please sign in to comment.