From 607303ab80157980a0227a5956e2a75c4004d76f Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Thu, 7 Jul 2011 16:57:12 -0700 Subject: [PATCH] Library urls have a trailing /. make sure the test case uses that --- htsworkflow/submission/test/test_daf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.30.2