summaryrefslogtreecommitdiffhomepage
path: root/tests/stub_sftp.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2018-08-22 14:26:18 -0700
committerJeff Forcier <jeff@bitprophet.org>2018-08-22 14:26:18 -0700
commit677166b4411e86029226f3d093701fb3b999a082 (patch)
tree033ed8fe463118f196274265febf9ecb3919277d /tests/stub_sftp.py
parentc5f6a8f174d0c465d489551c0c82c6c0489c37bb (diff)
parent57201d2de9cd4080480cfed2fe2572fa1c908acb (diff)
Merge branch '2.4'
Diffstat (limited to 'tests/stub_sftp.py')
-rw-r--r--tests/stub_sftp.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/stub_sftp.py b/tests/stub_sftp.py
index ffae635d..100076d6 100644
--- a/tests/stub_sftp.py
+++ b/tests/stub_sftp.py
@@ -38,7 +38,6 @@ from paramiko.common import o666
class StubServer(ServerInterface):
-
def check_auth_password(self, username, password):
# all are allowed
return AUTH_SUCCESSFUL
@@ -48,7 +47,6 @@ class StubServer(ServerInterface):
class StubSFTPHandle(SFTPHandle):
-
def stat(self):
try:
return SFTPAttributes.from_stat(os.fstat(self.readfile.fileno()))