Begin migrating/rewording --cf tests in pytest-bdd.

Uses current directory instead of deep directory structure, but requires a given for each config file referenced
This commit is contained in:
Micah Jerome Ellison 2021-09-06 14:03:59 -07:00
parent 686c256bd5
commit 51735da1be
3 changed files with 79 additions and 1 deletions

View file

@ -93,7 +93,7 @@ def we_use_the_config(config_file, temp_dir, working_dir):
# Copy all of the journals over
journal_source = os.path.join(working_dir, "data", "journals")
journal_dest = os.path.join(temp_dir.name, "features", "journals")
shutil.copytree(journal_source, journal_dest)
shutil.copytree(journal_source, journal_dest, dirs_exist_ok=True)
# @todo get rid of this by using default config values
# merge in version number