From d3ea76a031fd9cb804741ec9955eccbbdb5f16f7 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 3 Feb 2012 10:55:20 +0100 Subject: * tests/test_tagfile.py: - add test for apt_pkg.TagFile() both for compressed/uncompressed files --- tests/data/tagfile/history.1.log.gz | Bin 0 -> 270 bytes tests/data/tagfile/history.log | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/data/tagfile/history.1.log.gz create mode 100644 tests/data/tagfile/history.log (limited to 'tests/data') diff --git a/tests/data/tagfile/history.1.log.gz b/tests/data/tagfile/history.1.log.gz new file mode 100644 index 00000000..4174e02b Binary files /dev/null and b/tests/data/tagfile/history.1.log.gz differ diff --git a/tests/data/tagfile/history.log b/tests/data/tagfile/history.log new file mode 100644 index 00000000..f1d72665 --- /dev/null +++ b/tests/data/tagfile/history.log @@ -0,0 +1,15 @@ + +Start-Date: 2012-02-01 13:54:52 +Commandline: apt-get install chromium-browser +Install: chromium-browser:amd64 (16.0.912.77~r118311-0ubuntu1), chromium-browser-l10n:amd64 (16.0.912.77~r118311-0ubuntu1, automatic), chromium-codecs-ffmpeg:amd64 (16.0.912.77~r118311-0ubuntu1, automatic) +End-Date: 2012-02-01 13:55:01 + +Start-Date: 2012-02-02 10:39:04 +Commandline: apt-get install python-geoclue +Install: python-geoclue:amd64 (0.1.0-4build1) +End-Date: 2012-02-02 10:39:08 + +Start-Date: 2012-02-03 10:20:50 +Commandline: apt-get install python-qt4 +Install: python-qt4:amd64 (4.9-3ubuntu1) +End-Date: 2012-02-03 10:20:55 -- cgit v1.2.3