summaryrefslogtreecommitdiff
path: root/tests/test_debfile.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-03-29 09:05:40 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-03-29 09:05:40 +0200
commitbb7a6b6a948ee5cd81e68558a8fdb2956bc1049b (patch)
tree10843eb09c1ed3179c7402cd0a5b8d1e37859aaf /tests/test_debfile.py
parent22ab3421fbb8e936c3e6e32175a04ad801d7f511 (diff)
parent7df26fec497b8b1f191e49b99807c0570272f289 (diff)
downloadpython-apt-bb7a6b6a948ee5cd81e68558a8fdb2956bc1049b.tar.gz
merged from the debian branch
Diffstat (limited to 'tests/test_debfile.py')
-rw-r--r--tests/test_debfile.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_debfile.py b/tests/test_debfile.py
index 712c4958..32e52ddb 100644
--- a/tests/test_debfile.py
+++ b/tests/test_debfile.py
@@ -112,6 +112,11 @@ Description: testpackage for gdebi - contains usr/bin/binary for file reading
content = deb.control_content("control")
self.assertEqual(content, needle)
+ def test_xz_data(self):
+ deb = apt.debfile.DebPackage("./data/test_debs/data-tar-xz.deb")
+ self.assertEqual(deb.filelist, ["./", "usr/", "usr/bin/"])
+
+
if __name__ == "__main__":
#logging.basicConfig(level=logging.DEBUG)
unittest.main()