summaryrefslogtreecommitdiff
path: root/tests/02_test_import.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-30 20:03:33 +0100
committerGuido Günther <agx@sigxcpu.org>2011-11-01 18:12:48 +0100
commite28ea0740a7b4eb2ef4c1bd3079d77a40c6072b8 (patch)
tree779145e71a996c471a1d1a6b1acde1bc90deecc4 /tests/02_test_import.py
parentabf90abcba15beb51196cf503f35695acdcd91c1 (diff)
Get rid of the symlink
by moving the commands to gbp/scripts/
Diffstat (limited to 'tests/02_test_import.py')
-rw-r--r--tests/02_test_import.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/02_test_import.py b/tests/02_test_import.py
index f1e93c9..6ded95a 100644
--- a/tests/02_test_import.py
+++ b/tests/02_test_import.py
@@ -22,8 +22,7 @@ class TestUnpack:
assert os.path.exists(target), "%s does not exist" % target
def _create_archive(self, comp):
- filelist = [ os.path.basename(f) for f in
- glob.glob(os.path.join(self.top, "g*-*")) ]
+ filelist = [ 'README', 'setup.py' ]
name = "%s_0.1.tar.%s" % (self.archive_prefix, comp)
t = tarfile.open(name= name, mode='w:%s' % comp)
@@ -70,7 +69,7 @@ class TestUnpack:
self._check_files(archive[1], comp)
def test_upstream_source_unpack_filtered(self):
- exclude = "git-buildpackage"
+ exclude = "README"
for (comp, archive) in self.archives.iteritems():
source = gbp.deb.UpstreamSource(archive[0])