aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/06_test_upstream_source.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/06_test_upstream_source.py')
-rw-r--r--tests/06_test_upstream_source.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/06_test_upstream_source.py b/tests/06_test_upstream_source.py
index 3a6f92e8..18f6fbd4 100644
--- a/tests/06_test_upstream_source.py
+++ b/tests/06_test_upstream_source.py
@@ -12,6 +12,7 @@ import zipfile
from gbp.pkg import UpstreamSource
+
class TestDir(unittest.TestCase):
def setUp(self):
self.tmpdir = context.new_tmpdir(__name__)
@@ -29,6 +30,7 @@ class TestDir(unittest.TestCase):
def tearDown(self):
context.teardown()
+
class TestTar(unittest.TestCase):
"""Test if packing tar archives works"""
def _check_tar(self, us, positive=[], negative=[]):
@@ -92,4 +94,3 @@ class TestZip(unittest.TestCase):
self.assertEqual(source.guess_version(), ('gbp', '0.1'))
source.unpack(str(self.tmpdir))
self.assertNotEqual(source.unpacked, None)
-