diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-07-03 19:41:26 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-07-04 14:09:58 +0200 |
commit | d681e932b63a21aeaa7d07f4bfb533b583e4c1ae (patch) | |
tree | 4f04c067c610426d253a0b1c03cc6cc810a89f31 /tests/component/deb/test_import_dsc.py | |
parent | 7621268d39080f467f30465f4955b7c85fe37bca (diff) |
Use 'component' and 'additional tarball'
since this is what dpkg-source(1) uses.
Git-Dch: Ignore
Diffstat (limited to 'tests/component/deb/test_import_dsc.py')
-rw-r--r-- | tests/component/deb/test_import_dsc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/component/deb/test_import_dsc.py b/tests/component/deb/test_import_dsc.py index 549b5e3..d7a96ff 100644 --- a/tests/component/deb/test_import_dsc.py +++ b/tests/component/deb/test_import_dsc.py @@ -112,7 +112,7 @@ class TestImportDsc(ComponentTestBase): ok_(commits == expected, "Found %d commit instead of %d" % (commits, expected)) dsc = DscFile.parse(dscfile) - # Check if we can rebuild the tarball and subtarball + # Check if we can rebuild the tarball and component ptars = [('hello-debhelper_2.8.orig.tar.gz', 'pristine-tar', '', dsc.tgz), ('hello-debhelper_2.8.orig-foo.tar.gz', 'pristine-tar^', 'foo', dsc.additional_tarballs['foo'])] @@ -121,7 +121,7 @@ class TestImportDsc(ComponentTestBase): for f, w, s, o in ptars: eq_(repo.get_subject(w), 'pristine-tar data for %s' % f) old = self.hash_file(o) - p.checkout('hello-debhelper', '2.8', 'gzip', outdir, subtarball=s) + p.checkout('hello-debhelper', '2.8', 'gzip', outdir, component=s) new = self.hash_file(os.path.join(outdir, f)) eq_(old, new, "Checksum %s of regenerated tarball %s does not match original %s" % (f, old, new)) |