diff options
| author | Michael Vogt <egon@debian-devbox> | 2011-10-19 17:23:43 +0200 |
|---|---|---|
| committer | Michael Vogt <egon@debian-devbox> | 2011-10-19 17:23:43 +0200 |
| commit | 3c35eb3da332cf30781dba78ed777b26934136ac (patch) | |
| tree | e971ffeca07f076422df4cc4b8e9a8a688c8b363 /tests | |
| parent | c24de9d51b0d3a5e8953dfc2b59aef85cafd34f1 (diff) | |
| download | python-apt-3c35eb3da332cf30781dba78ed777b26934136ac.tar.gz | |
releasing version 0.8.1
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_apt_cache.py | 2 | ||||
| -rw-r--r-- | tests/test_progress.py | 2 |
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") |
