diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-23 10:32:07 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-10-23 10:32:07 -0700 |
commit | b9ff5f3e4b11a7b8928e51629df0bfde4c6ebe53 (patch) | |
tree | c62e4c408f496f042e8b116ce4631ec80dabf77b /tests/test_sftp.py | |
parent | 9621e914bc433f8deb72c17fedb7b73365cbac21 (diff) |
Rename util func that trips pytest's default discovery.
Wouldn't matter as much under pytest-relaxed discovery, but, eh
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-x | tests/test_sftp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py index 4fc27dc9..7264baeb 100755 --- a/tests/test_sftp.py +++ b/tests/test_sftp.py @@ -38,7 +38,7 @@ from paramiko.common import o777, o600, o666, o644 from tests import skipUnlessBuiltin from tests.stub_sftp import StubServer, StubSFTPServer from tests.loop import LoopSocket -from tests.util import test_path +from tests.util import _support import paramiko.util from paramiko.sftp_attr import SFTPAttributes @@ -139,7 +139,7 @@ class SFTPTest (unittest.TestCase): tc = paramiko.Transport(sockc) ts = paramiko.Transport(socks) - host_key = paramiko.RSAKey.from_private_key_file(test_path('test_rsa.key')) + host_key = paramiko.RSAKey.from_private_key_file(_support('test_rsa.key')) ts.add_server_key(host_key) event = threading.Event() server = StubServer() |