mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-04 07:26:14 +02:00
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:
parent
686c256bd5
commit
51735da1be
3 changed files with 79 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue