For some reason the previous integrety fixes, added made the failed flowcell be in...
authorDiane Trout <diane@ghic.org>
Thu, 13 Feb 2014 01:28:28 +0000 (17:28 -0800)
committerDiane Trout <diane@ghic.org>
Tue, 10 Jun 2014 23:27:57 +0000 (16:27 -0700)
htsworkflow/frontend/experiments/test_experiments.py

index 11214b1163ad4fb2a4b6a7de1879cc8095847a97..fab24ccf36a5120b7b4229308aa2b4e037af5ae6 100644 (file)
@@ -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')