From 01e32f901a8125d840cbf501ee935f0bba483234 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Wed, 6 Jun 2012 12:18:46 +0200 Subject: Create the config dir in the tests --- tests/test_auth.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/test_auth.py b/tests/test_auth.py index 7ecebb7b..6965dfed 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -121,8 +121,10 @@ class TestAuthKeys(unittest.TestCase): apt_pkg.config.set("Dir", self.tmpdir) apt_pkg.config.set("Dir::Etc", "etc/apt/") trustedparts_dir = apt_pkg.config.find_dir("Dir::Etc::Trustedparts") + confparts_dir = apt_pkg.config.find_dir("Dir::Etc::parts") self.assertTrue(trustedparts_dir.startswith(self.tmpdir)) os.makedirs(trustedparts_dir) + os.makedirs(confparts_dir) def _restore_apt_config(self, cnf): """Restore previous apt configuration.""" -- cgit v1.2.3