1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00

Fix paths in test cases

This commit is contained in:
Peter Eckersley
2015-09-16 19:43:57 -07:00
parent cb1ff5108e
commit 18adec0bf2
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ def create_le_config(parent_dir):
def extract_configs(configs, parent_dir):
"""Extracts configs to a new dir under parent_dir and returns it"""
config_dir = os.path.join(parent_dir, "configs")
config_dir = os.path.join(parent_dir, "renewal")
if os.path.isdir(configs):
shutil.copytree(configs, config_dir, symlinks=True)

View File

@@ -49,7 +49,7 @@ class BaseRenewableCertTest(unittest.TestCase):
for kind in ALL_FOUR:
config[kind] = os.path.join(self.tempdir, "live", "example.org",
kind + ".pem")
config.filename = os.path.join(self.tempdir, "configs",
config.filename = os.path.join(self.tempdir, "renewal",
"example.org.conf")
self.config = config