summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-03-10 13:55:53 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-03-10 13:55:53 -0500
commitcbfdc10c8f94e7242420ad43cede3c96c33edc53 (patch)
treed6099c1a11c5964cfefecfc110d10718bf8f9a20 /tests/test_sftp.py
parent08eb98d63f5f03172ce4734096e7013a56c560ac (diff)
parente465da57a07072ccc9500c85cac1e86dda52d19b (diff)
Merge branch 'main' into 2013-int
Diffstat (limited to 'tests/test_sftp.py')
-rw-r--r--tests/test_sftp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index 2cd68d94..be123de4 100644
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -46,7 +46,7 @@ ARTICLE = """
Insulin sensitivity and liver insulin receptor structure in ducks from two
genera
-T. Constans, B. Chevalier, M. Derouet and J. Simon
+T. Constantine, B. Chevalier, M. Derouet and J. Simon
Station de Recherches Avicoles, Institut National de la Recherche Agronomique,
Nouzilly, France.
@@ -129,7 +129,7 @@ class TestSFTP:
try:
with sftp.open(sftp.FOLDER + "/duck.txt", "w") as f:
f.write(ARTICLE)
- assert sftp.stat(sftp.FOLDER + "/duck.txt").st_size == 1483
+ assert sftp.stat(sftp.FOLDER + "/duck.txt").st_size == 1486
finally:
sftp.remove(sftp.FOLDER + "/duck.txt")
@@ -140,7 +140,7 @@ class TestSFTP:
try:
with sftp.open(sftp.FOLDER + "/duck.txt", "w") as f:
f.write(ARTICLE)
- assert sftp.stat(sftp.FOLDER + "/duck.txt").st_size == 1483
+ assert sftp.stat(sftp.FOLDER + "/duck.txt").st_size == 1486
finally:
sftp.remove(sftp.FOLDER + "/duck.txt")
@@ -724,7 +724,7 @@ class TestSFTP:
def test_seek_append(self, sftp):
"""
- verify that seek does't affect writes during append.
+ verify that seek doesn't affect writes during append.
does not work except through paramiko. :( openssh fails.
"""