From: Diane Trout Date: Thu, 13 Feb 2014 01:28:28 +0000 (-0800) Subject: For some reason the previous integrety fixes, added made the failed flowcell be in... X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=6a359407b4821a5f98a180ad86950b00d756662f;hp=ab74b21a3c45abc940a2154e584a01089c910cbe For some reason the previous integrety fixes, added made the failed flowcell be in the second position in the table --- diff --git a/htsworkflow/frontend/experiments/test_experiments.py b/htsworkflow/frontend/experiments/test_experiments.py index 11214b1..fab24cc 100644 --- a/htsworkflow/frontend/experiments/test_experiments.py +++ b/htsworkflow/frontend/experiments/test_experiments.py @@ -288,8 +288,8 @@ class ExperimentsTestCases(TestCase): tree = fromstring(response.content) flowcell_spans = tree.xpath('//span[@property="libns:flowcell_id"]', namespaces=NSMAP) - self.assertEqual(flowcell_spans[0].text, '30012AAXX (failed)') - failed_fc_span = flowcell_spans[0] + self.assertEqual(flowcell_spans[1].text, '30012AAXX (failed)') + failed_fc_span = flowcell_spans[1] failed_fc_a = failed_fc_span.getparent() # make sure some of our RDF made it. self.assertEqual(failed_fc_a.get('typeof'), 'libns:IlluminaFlowcell')