diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-09-09 19:51:28 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-09-12 08:52:14 +0200 |
commit | 9abd425f933c55039d04305003df197b00f0af09 (patch) | |
tree | d9d56865262b3b2eb30d5b83afcdbf415e7d7442 | |
parent | a7c392a03441264bba0e75617cc9842ddae40545 (diff) |
14_test_gbp_import_dscs: flake8 clean
-rw-r--r-- | tests/14_test_gbp_import_dscs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/14_test_gbp_import_dscs.py b/tests/14_test_gbp_import_dscs.py index b646f5c2..b0a29c39 100644 --- a/tests/14_test_gbp_import_dscs.py +++ b/tests/14_test_gbp_import_dscs.py @@ -23,6 +23,7 @@ import gbp.scripts.import_dscs as import_dscs from gbp.errors import GbpError + class StubGitImportDsc(object): """ A Stub for GitImportDsc. @@ -40,6 +41,7 @@ class StubGitImportDsc(object): """ return 1 if dsc.filename == self.failfile else 0 + class DscStub(object): def __init__(self, filename, version): self.filename = filename @@ -57,6 +59,7 @@ class DscStub(object): import_dscs.GitImportDsc = StubGitImportDsc import_dscs.DscFile = DscStub + class TestImportDscs(testutils.DebianGitTestRepo): """Test L{gbp.scripts.import_dscs}'s """ @@ -93,4 +96,3 @@ class TestImportDscs(testutils.DebianGitTestRepo): gbp.log.err = self.orig_err testutils.DebianGitTestRepo.tearDown(self) context.teardown() - |