projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c8f9bf9
)
Library urls have a trailing /. make sure the test case uses that
author
Diane Trout
<diane@caltech.edu>
Thu, 7 Jul 2011 23:57:12 +0000
(16:57 -0700)
committer
Diane Trout
<diane@caltech.edu>
Thu, 7 Jul 2011 23:57:12 +0000
(16:57 -0700)
htsworkflow/submission/test/test_daf.py
patch
|
blob
|
history
diff --git
a/htsworkflow/submission/test/test_daf.py
b/htsworkflow/submission/test/test_daf.py
index 5d647f6c72c6e254e34acb652cb3ed36fd26ab4f..e4ee4859928180d77970199431fcfce6b007bc21 100644
(file)
--- a/
htsworkflow/submission/test/test_daf.py
+++ b/
htsworkflow/submission/test/test_daf.py
@@
-151,7
+151,7
@@
class TestDAFMapper(unittest.TestCase):
def test_find_attributes(self):
lib_id = '11204'
def test_find_attributes(self):
lib_id = '11204'
- lib_url = 'http://jumpgate.caltech.edu/library/%s' %(lib_id)
+ lib_url = 'http://jumpgate.caltech.edu/library/%s
/
' %(lib_id)
extra = '''@prefix dafTerm: <http://jumpgate.caltech.edu/wiki/UcscDaf#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
extra = '''@prefix dafTerm: <http://jumpgate.caltech.edu/wiki/UcscDaf#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@@
-169,7
+169,7
@@
class TestDAFMapper(unittest.TestCase):
# make sure we can override attributes, the value in our
# server is 500 for this library
self.failUnlessEqual(gel_cut, 100)
# make sure we can override attributes, the value in our
# server is 500 for this library
self.failUnlessEqual(gel_cut, 100)
-
+
species = daf_mapper._get_library_attribute(libNode, 'species')
self.failUnlessEqual(species, "Homo sapiens")
species = daf_mapper._get_library_attribute(libNode, 'species')
self.failUnlessEqual(species, "Homo sapiens")