aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/23_test_dch_extract_bts_cmds.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/23_test_dch_extract_bts_cmds.py')
-rw-r--r--tests/23_test_dch_extract_bts_cmds.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/23_test_dch_extract_bts_cmds.py b/tests/23_test_dch_extract_bts_cmds.py
index bd4b0dbf..e1fb7e0a 100644
--- a/tests/23_test_dch_extract_bts_cmds.py
+++ b/tests/23_test_dch_extract_bts_cmds.py
@@ -18,11 +18,13 @@ import unittest
from gbp.dch import extract_bts_cmds
+
class OptionsStub:
def __init__(self):
self.meta_closes = "Closes|LP"
self.meta_closes_bugnum = r'(?:bug|issue)?\#?\s?\d+'
+
class TestExtractBTSCmds(unittest.TestCase):
def test_debian_commands(self):
"""Test default BTS command extraction that is applicable to Debian"""