aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-09 20:02:02 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-12 08:52:14 +0200
commit03a3e71db105b2a59c6f0793369c330bc174ae6e (patch)
tree2f394a69d16f87d32d867ce0e1b9417601adce53
parent1adf645b81d35cd66ed433ed8ba7c6f90f4b3d81 (diff)
23_test_dch_extract_bts_cmds: flake8 clean
-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"""