summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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")