Skip to content

Commit

Permalink
Update tests to reflect new names
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Nov 5, 2018
1 parent 83dd95c commit 1b90e92
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/test_cp_pipe.py → tests/test_runEotestTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
noEotest = True


class CpPipeTestCase(lsst.utils.tests.TestCase):
class RunEotestTaskTestCase(lsst.utils.tests.TestCase):
"""A test case for cp_pipe."""

def testExample(self):
Expand All @@ -51,11 +51,10 @@ def testImport(self):

@unittest.skipIf(noEotest, noEotestMsg)
def testClassInstantiation(self):
from lsst.cp.pipe import CpTask
cpConfig = CpTask.ConfigClass()
cpConfig.eotestOutputPath='/some/test/path' # must not be empty for validate() to pass
cpTask = CpTask(config=cpConfig)

from lsst.cp.pipe.runEotestTask import RunEotestTask
runEotestConfig = RunEotestTask.ConfigClass()
runEotestConfig.eotestOutputPath='/some/test/path' # must not be empty for validate() to pass
runEotestTask = RunEotestTask(config=runEotestConfig)

class TestMemory(lsst.utils.tests.MemoryTestCase):
pass
Expand Down

0 comments on commit 1b90e92

Please sign in to comment.