aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/05_test_detection.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-09 10:41:19 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-12 08:52:07 +0200
commitd1c163401153329363a010373cb512f8e59ef1e2 (patch)
tree4360253804301e13b626a47d3ee9b7740dc9fbec /tests/05_test_detection.py
parentf7db3b77c491e5f76f441a1155aa87b1e5dedde6 (diff)
pep8/pyflakes cleanups
Diffstat (limited to 'tests/05_test_detection.py')
-rw-r--r--tests/05_test_detection.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/05_test_detection.py b/tests/05_test_detection.py
index 9b902e10..2355f1f9 100644
--- a/tests/05_test_detection.py
+++ b/tests/05_test_detection.py
@@ -10,6 +10,7 @@ from gbp.scripts import buildpackage
from gbp.deb import (DebianPkgPolicy, orig_file)
from gbp.errors import GbpError
+
class MockGitRepository:
def __init__(self, with_branch=False, subject=None):
self.with_branch = with_branch
@@ -27,6 +28,7 @@ class MockGitRepository:
def get_commit_info(self, commit):
return {'subject': self.subject}
+
class TestDetection(unittest.TestCase):
def setUp(self):
self.tmpdir = context.new_tmpdir(__name__)