X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Fpipelines%2Ftest%2Ftest_runfolder_rta180.py;h=2817328dc3a0fdcc415cc17e0c1adda725bebc37;hp=eacae8c7f0e9db4aca1ee2573c391aba5a501f3e;hb=125a2f05ae50945b0bd7c9f878de885c91f213eb;hpb=4a2529df5d2bdaa83d1661730c3791560d58df37 diff --git a/htsworkflow/pipelines/test/test_runfolder_rta180.py b/htsworkflow/pipelines/test/test_runfolder_rta180.py index eacae8c..2817328 100644 --- a/htsworkflow/pipelines/test/test_runfolder_rta180.py +++ b/htsworkflow/pipelines/test/test_runfolder_rta180.py @@ -12,7 +12,7 @@ from htsworkflow.pipelines import bustard from htsworkflow.pipelines import gerald from htsworkflow.pipelines import runfolder from htsworkflow.pipelines.samplekey import SampleKey -from htsworkflow.pipelines.runfolder import ElementTree +from htsworkflow.pipelines import ElementTree from htsworkflow.pipelines.test.simulate_runfolder import * @@ -271,7 +271,8 @@ class RunfolderTests(TestCase): runs = runfolder.get_runs(self.runfolder_dir) self.failUnlessEqual(len(runs), 1) name = 'run_207BTAAXY_%s.xml' % ( date.today().strftime('%Y-%m-%d'),) - self.failUnlessEqual(runs[0].name, name) + self.failUnlessEqual(runs[0].serialization_filename, name) + r1 = runs[0] @@ -279,7 +280,7 @@ class RunfolderTests(TestCase): xml_str = ElementTree.tostring(xml) r2 = runfolder.PipelineRun(xml=xml) - self.failUnlessEqual(r1.name, r2.name) + self.failUnlessEqual(r1.serialization_filename, r2.serialization_filename) self.failIfEqual(r2.image_analysis, None) self.failIfEqual(r2.bustard, None) self.failIfEqual(r2.gerald, None)