Allow passing the location of pkgcache to DebianDistribution
commit9a4aa5da4bf35d3ba2f5417b0496a7f2f45e8847
authorThomas Leonard <talex5@gmail.com>
Wed, 7 Apr 2010 09:13:33 +0000 (7 10:13 +0100)
committerThomas Leonard <talex5@gmail.com>
Wed, 7 Apr 2010 09:16:03 +0000 (7 10:16 +0100)
tree1a99c12f5bcec9afa4536186adb3d0e8ebfd2e55
parentc63d5405c991ef801c4cf21e4ff34c431d44f753
Allow passing the location of pkgcache to DebianDistribution

Avoids having the unittests try to use the host's cache, giving an error on
non-Debian systems.

Reported by Aleksey Lim.
tests/basetest.py
tests/dpkg/pkgcache.bin [new file with mode: 0644]
tests/testdistro.py
zeroinstall/injector/distro.py