projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
789a354
)
The sort order of lanes changed breaking my test
author
Diane Trout
<diane@ghic.org>
Thu, 2 Jun 2016 20:46:47 +0000
(13:46 -0700)
committer
Diane Trout
<diane@ghic.org>
Fri, 24 Jun 2016 22:55:58 +0000
(15:55 -0700)
experiments/test_experiments.py
patch
|
blob
|
history
diff --git
a/experiments/test_experiments.py
b/experiments/test_experiments.py
index 597da2a47400ff172ca75689b8351f4cfd150263..b862d7be235d3901a2a1036074d720511657b7df 100644
(file)
--- a/
experiments/test_experiments.py
+++ b/
experiments/test_experiments.py
@@
-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
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'])
library_id = lane_tr.xpath('td[6]/a')[0].text
self.assertEqual(library_id, lane_db['library'])