summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <egon@debian-devbox>2011-10-19 17:23:43 +0200
committerMichael Vogt <egon@debian-devbox>2011-10-19 17:23:43 +0200
commit3c35eb3da332cf30781dba78ed777b26934136ac (patch)
treee971ffeca07f076422df4cc4b8e9a8a688c8b363 /tests
parentc24de9d51b0d3a5e8953dfc2b59aef85cafd34f1 (diff)
downloadpython-apt-3c35eb3da332cf30781dba78ed777b26934136ac.tar.gz
releasing version 0.8.1
Diffstat (limited to 'tests')
-rw-r--r--tests/test_apt_cache.py2
-rw-r--r--tests/test_progress.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py
index 2f812059..db68ec63 100644
--- a/tests/test_apt_cache.py
+++ b/tests/test_apt_cache.py
@@ -133,7 +133,7 @@ class TestAptCache(unittest.TestCase):
old_source_list = apt_pkg.config.find("dir::etc::sourcelist")
old_source_parts = apt_pkg.config.find("dir::etc::sourceparts")
apt_pkg.config.set("dir::etc::sourcelist", base_sources)
- apt_pkg.config.set("dir::etc::sourceparts", "xxx")
+ apt_pkg.config.set("dir::etc::sourceparts", "/tmp")
# main sources.list
sources_list = base_sources
with open(sources_list, "w") as f:
diff --git a/tests/test_progress.py b/tests/test_progress.py
index 73853dfa..3b6285d6 100644
--- a/tests/test_progress.py
+++ b/tests/test_progress.py
@@ -27,7 +27,7 @@ class TestProgress(unittest.TestCase):
apt_pkg.init()
apt_pkg.config.set("APT::Architecture", "amd64")
apt_pkg.config.set("Dir::Etc", basedir)
- apt_pkg.config.set("Dir::Etc::sourceparts", "/xxx")
+ apt_pkg.config.set("Dir::Etc::sourceparts", "/tmp")
# setup lists dir
if not os.path.exists("./tmp/partial"):
os.makedirs("./tmp/partial")