mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 13:36:14 +02:00
Tests for encryption
This commit is contained in:
parent
a84713e99a
commit
c0733f36c5
5 changed files with 56 additions and 0 deletions
|
@ -11,6 +11,7 @@ def before_scenario(context, scenario):
|
|||
"""Before each scenario, backup all config and journal test data."""
|
||||
context.messages = StringIO()
|
||||
jrnl.util.STDERR = context.messages
|
||||
jrnl.util.TEST = True
|
||||
for folder in ("configs", "journals"):
|
||||
original = os.path.join("features", folder)
|
||||
backup = os.path.join("features", folder+"_backup")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue