diff options
Diffstat (limited to 'tests/11_test_dch_main.py')
-rw-r--r-- | tests/11_test_dch_main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/11_test_dch_main.py b/tests/11_test_dch_main.py index 7fc82600..14cf5939 100644 --- a/tests/11_test_dch_main.py +++ b/tests/11_test_dch_main.py @@ -371,7 +371,7 @@ class TestScriptDch(DebianGitTestRepo): msg="""test non-debian closes 1\n\nCloses: EX-123""") self.add_file("closes1", "test file", msg="""test non-debian closes 2\n\nCloses: EX-5678""") - options = ["--meta", '--meta-closes-bugnum=ex-\d+'] + options = ["--meta", r'--meta-closes-bugnum=ex-\d+'] lines = self.run_dch(options) self.assertIn(""" * test non-debian closes 1 (Closes: EX-123)\n""", lines) @@ -383,7 +383,7 @@ class TestScriptDch(DebianGitTestRepo): msg="""test non-debian closes 1\n\nExample: EX-123""") self.add_file("closes1", "test file", msg="""test non-debian closes 2\n\nExample: EX-5678""") - options = ["--meta", '--meta-closes-bugnum=ex-\d+', + options = ["--meta", r'--meta-closes-bugnum=ex-\d+', '--meta-closes=Example'] lines = self.run_dch(options) self.assertIn(""" * test non-debian closes 1 (Example: EX-123)\n""", |