projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e629a
)
Update test to be more robust to changing dictionary order.
author
Diane Trout
<diane@ghic.org>
Mon, 6 Apr 2015 21:52:27 +0000
(14:52 -0700)
committer
Diane Trout
<diane@ghic.org>
Mon, 6 Apr 2015 21:52:27 +0000
(14:52 -0700)
The test used to be stable in python2 days, but lets just
use sets to make sure it wont fail in the future.
htsworkflow/pipelines/test/test_runfolder_ipar130.py
patch
|
blob
|
history
diff --git
a/htsworkflow/pipelines/test/test_runfolder_ipar130.py
b/htsworkflow/pipelines/test/test_runfolder_ipar130.py
index 5fe62219a82e36b8caedcfcaf5dc78097ede97de..4891015d3ff886acd3f44d7daf465d37daf3b3e9 100644
(file)
--- a/
htsworkflow/pipelines/test/test_runfolder_ipar130.py
+++ b/
htsworkflow/pipelines/test/test_runfolder_ipar130.py
@@
-123,7
+123,7
@@
class RunfolderTests(TestCase):
self.failUnlessEqual(b.user, 'diane')
self.failUnlessEqual(len(b.phasing), 8)
self.failUnlessAlmostEqual(b.phasing[8].phasing, 0.0099)
- self.
failUnlessEqual(b.crosstalk.base.keys(), ['A','C','T','G']
)
+ self.
assertEqual(set(b.crosstalk.base), set(['A','C','T','G'])
)
check_crosstalk(b.crosstalk)
xml = b.get_elements()