diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-19 17:40:03 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-19 17:40:03 +0200 |
| commit | 2a802b7d35fb82864faded7bcd25e502a1ca9a9d (patch) | |
| tree | f863686a5159227c95e7a83b421287c0be0292f1 /tests | |
| parent | 8c24ad05afb705f7842cb2bc7e08450acbe49653 (diff) | |
| parent | 3c35eb3da332cf30781dba78ed777b26934136ac (diff) | |
| download | python-apt-2a802b7d35fb82864faded7bcd25e502a1ca9a9d.tar.gz | |
merged from debian/sid
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") |
