The sort order of lanes changed breaking my test
authorDiane Trout <diane@ghic.org>
Thu, 2 Jun 2016 20:46:47 +0000 (13:46 -0700)
committerDiane Trout <diane@ghic.org>
Fri, 24 Jun 2016 22:55:58 +0000 (15:55 -0700)
experiments/test_experiments.py

index 597da2a47400ff172ca75689b8351f4cfd150263..b862d7be235d3901a2a1036074d720511657b7df 100644 (file)
@@ -268,7 +268,7 @@ class ExperimentsTestCases(TestCase):
         self.assertEqual(len(lane_trs), len(lanes))
         # lanes is in db order
         # lane_trs is in newest to oldest order
-        for lane_tr, lane_db in zip(lane_trs, reversed(lanes)):
+        for lane_tr, lane_db in zip(lane_trs, lanes):
             library_id = lane_tr.xpath('td[6]/a')[0].text
             self.assertEqual(library_id, lane_db['library'])