diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-23 14:21:38 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-10-23 14:21:38 -0700 |
commit | 25d56a954aefefb5028977fbff2c87963df9b4b1 (patch) | |
tree | efb4f97d9c813ec9cc7fc0b1f7bbb82bea905c9e /tests/conftest.py | |
parent | 1d15a88758c39fc2024bf59bdd09deb160d841c7 (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.py | 2 |
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. |