diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-23 14:21:38 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2018-09-17 14:38:28 -0700 |
commit | 4578354019f17fcea05353d7b6d0dcf82a40c9b0 (patch) | |
tree | 609f66c32420192098442a86655d08a07e2a09e1 /tests/conftest.py | |
parent | 467fecb9d4e564a3888285388d4c7482adeb851d (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. |