From 6a359407b4821a5f98a180ad86950b00d756662f Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 12 Feb 2014 17:28:28 -0800 Subject: [PATCH] For some reason the previous integrety fixes, added made the failed flowcell be in the second position in the table --- htsworkflow/frontend/experiments/test_experiments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.30.2