diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-12 15:16:45 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-12 15:16:45 +0200 |
| commit | 07e4a58a369de9ce7855db79d51490296d5cf6e5 (patch) | |
| tree | bc5cd1391787f604b13f8e41a396b1c5667a409e | |
| parent | 170df832c3ff8155b25178315bdb49c8416c3546 (diff) | |
| download | python-apt-07e4a58a369de9ce7855db79d51490296d5cf6e5.tar.gz | |
apply fix from juliank for the tests (many thanks!)
| -rw-r--r-- | tests/test_debfile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_debfile.py b/tests/test_debfile.py index e4755b5b..bb9fd62c 100644 --- a/tests/test_debfile.py +++ b/tests/test_debfile.py @@ -44,9 +44,11 @@ class TestDebfilee(unittest.TestCase): ] def setUp(self): + apt_pkg.init_config() apt_pkg.config.set("APT::Architecture","i386") apt_pkg.config.set("Dir::State::status", "./data/test_debs/var/lib/dpkg/status") + apt_pkg.init_system() self.cache = apt.Cache() def testDebFile(self): |
