diff options
| author | Sebastian Heinlein <devel@glatzor.de> | 2012-06-06 12:18:46 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <devel@glatzor.de> | 2012-06-06 12:18:46 +0200 |
| commit | 01e32f901a8125d840cbf501ee935f0bba483234 (patch) | |
| tree | f784357b83506104faab21fda3df030dbf39cbcd | |
| parent | b6dbdb941109b5bbfbb5042ad49e1353602240d2 (diff) | |
| download | python-apt-01e32f901a8125d840cbf501ee935f0bba483234.tar.gz | |
Create the config dir in the tests
| -rw-r--r-- | tests/test_auth.py | 2 |
1 files changed, 2 insertions, 0 deletions
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.""" |
