diff options
Diffstat (limited to 'tests/test_apt_cache.py')
| -rw-r--r-- | tests/test_apt_cache.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index 21dfeb98..9940374f 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -188,7 +188,8 @@ class TestAptCache(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", "/tmp") + # TODO: /dev/null is not a dir, perhaps find something better + apt_pkg.config.set("dir::etc::sourceparts", "/dev/null") # main sources.list sources_list = base_sources with open(sources_list, "w") as f: |
