From: Diane Trout Date: Thu, 7 Jul 2011 23:57:12 +0000 (-0700) Subject: Library urls have a trailing /. make sure the test case uses that X-Git-Tag: 0.5.2~4 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=607303ab80157980a0227a5956e2a75c4004d76f Library urls have a trailing /. make sure the test case uses that --- diff --git a/htsworkflow/submission/test/test_daf.py b/htsworkflow/submission/test/test_daf.py index 5d647f6..e4ee485 100644 --- 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' - lib_url = 'http://jumpgate.caltech.edu/library/%s' %(lib_id) + lib_url = 'http://jumpgate.caltech.edu/library/%s/' %(lib_id) extra = '''@prefix dafTerm: . @prefix xsd: . @@ -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) - + species = daf_mapper._get_library_attribute(libNode, 'species') self.failUnlessEqual(species, "Homo sapiens")