From: Diane Trout Date: Thu, 23 Oct 2014 23:15:09 +0000 (-0700) Subject: mark the example submission rule files as being raw, so the escapes dont get confused X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain mark the example submission rule files as being raw, so the escapes dont get confused --- diff --git a/htsworkflow/submission/test/test_submission.py b/htsworkflow/submission/test/test_submission.py index 0c4e087..d619198 100644 --- a/htsworkflow/submission/test/test_submission.py +++ b/htsworkflow/submission/test/test_submission.py @@ -84,7 +84,7 @@ class TestSubmission(TestCase): str(RDF.NS('http://localhost/library/')[''])) def test_scan_submission_dirs(self): - turtle = get_turtle_header() + """ + turtle = get_turtle_header() + r""" @prefix thisView: . 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): - turtle = get_turtle_header() + """ + turtle = get_turtle_header() + r""" @prefix thisView: . thisView:Fastq ucscDaf:filename_re ".*[^12]\\.fastq\\.bz2$" ; a geoSoft:raw ;