diff options
Diffstat (limited to 'tests/02_test_import.py')
-rw-r--r-- | tests/02_test_import.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/02_test_import.py b/tests/02_test_import.py index f1e93c97..6ded95af 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]) |