summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorJames R. Barlow <jim@purplerock.ca>2019-06-18 16:04:05 -0700
committerJames R. Barlow <jim@purplerock.ca>2019-06-18 16:04:05 -0700
commita1df4a83510cbcc7ae05bc832985589c9d0feb9b (patch)
tree4dd20251f08ca9b3ccc3afd170be8382e7f6a7ba /tests/conftest.py
parentff85997ef280ed948c686d036e89eebf720c31be (diff)
Encryption: add saving
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 6694c77..8887415 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -20,5 +20,10 @@ def resources():
@pytest.fixture(scope="function")
-def outdir(tmpdir):
- return Path(str(tmpdir))
+def outdir(tmp_path):
+ return tmp_path
+
+
+@pytest.fixture(scope="function")
+def outpdf(tmp_path):
+ return tmp_path / 'out.pdf'