summaryrefslogtreecommitdiffhomepage
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-10-23 14:21:38 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-10-23 14:21:38 -0700
commit25d56a954aefefb5028977fbff2c87963df9b4b1 (patch)
treeefb4f97d9c813ec9cc7fc0b1f7bbb82bea905c9e /tests/conftest.py
parent1d15a88758c39fc2024bf59bdd09deb160d841c7 (diff)
Scope SFTP client/server fixture to be session-level for now
Saves at least a few seconds per module this way and not super worried about state bleed so far
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index dbf2cb0f..c58798ca 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -31,7 +31,7 @@ def make_sftp_folder(client):
# TODO: apply at module or session level
# TODO: roll in SFTP folder setup and teardown?
# NOTE: This is defined here for use by both SFTP (normal & 'big') suites.
-@pytest.fixture
+@pytest.fixture(scope='session')
def sftp():
"""
Set up an in-memory SFTP server, returning its corresponding SFTPClient.