Skip to content

Commit

Permalink
Add transform task mock.
Browse files Browse the repository at this point in the history
Fix syntax error.
  • Loading branch information
morriscb committed Apr 21, 2021
1 parent 735865a commit 0916d1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_appipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ def mockPatchSubtasks(self, task):
"""
with patch.object(task, "ccdProcessor") as mockCcdProcessor, \
patch.object(task, "differencer") as mockDifferencer, \
patch.object(task, "transformDiaSrcCat") as mockTransForm, \
patch.object(task, "diaPipe") as mockDiaPipe:
yield pipeBase.Struct(ccdProcessor=mockCcdProcessor,
differencer=mockDifferencer,
transformDiaSrcCat=mockTransForm,
diaPipe=mockDiaPipe)

def testGenericRun(self):
Expand Down

0 comments on commit 0916d1b

Please sign in to comment.