mark the example submission rule files as being raw, so the escapes dont get confused master
authorDiane Trout <diane@ghic.org>
Thu, 23 Oct 2014 23:15:09 +0000 (16:15 -0700)
committerDiane Trout <diane@ghic.org>
Thu, 23 Oct 2014 23:15:09 +0000 (16:15 -0700)
htsworkflow/submission/test/test_submission.py

index 0c4e0870399eb30dbc1702d5fa1912de2a3ab837..d619198a5206a3eef2c7c5737f4c8798ba65a1ce 100644 (file)
@@ -84,7 +84,7 @@ class TestSubmission(TestCase):
                          str(RDF.NS('http://localhost/library/')['']))
 
     def test_scan_submission_dirs(self):
                          str(RDF.NS('http://localhost/library/')['']))
 
     def test_scan_submission_dirs(self):
-        turtle = get_turtle_header() + """
+        turtle = get_turtle_header() + r"""
 @prefix thisView: <http://jumpgate.caltech.edu/wiki/SubmissionsLog/test/view/> .
 thisView:Fastq ucscDaf:filename_re ".*[^12]\\.fastq\\.bz2$" ;
                a geoSoft:raw ;
 @prefix thisView: <http://jumpgate.caltech.edu/wiki/SubmissionsLog/test/view/> .
 thisView:Fastq ucscDaf:filename_re ".*[^12]\\.fastq\\.bz2$" ;
                a geoSoft:raw ;
@@ -125,7 +125,7 @@ thisView:alignments ucscDaf:filename_re ".*\\.bam$" ;
         self.assertEqual(expected, got)
 
     def test_find_best_match(self):
         self.assertEqual(expected, got)
 
     def test_find_best_match(self):
-        turtle = get_turtle_header() + """
+        turtle = get_turtle_header() + r"""
 @prefix thisView: <http://jumpgate.caltech.edu/wiki/SubmissionsLog/test/view/> .
 thisView:Fastq ucscDaf:filename_re ".*[^12]\\.fastq\\.bz2$" ;
                a geoSoft:raw ;
 @prefix thisView: <http://jumpgate.caltech.edu/wiki/SubmissionsLog/test/view/> .
 thisView:Fastq ucscDaf:filename_re ".*[^12]\\.fastq\\.bz2$" ;
                a geoSoft:raw ;