Skip to content

Commit 3847696

Browse files
committed
more updates
1 parent 3294624 commit 3847696

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_sftp.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,15 @@ def test_sftpserver_put_file(content, sftpclient, tmpdir):
105105
sftpclient.put(str(tmpfile), "/a/test.txt")
106106
assert set(sftpclient.listdir("/a")) == set(["test.txt", "b", "c", "f"])
107107

108+
108109
def test_sftpserver_put_bigger_file(content, sftpclient, tmpdir):
109110
tmpfile = tmpdir.join("test.txt")
110-
file_size = 40_000
111+
file_size = 40000
111112
tmpfile.write("x" * file_size)
112113
sftpclient.put(str(tmpfile), "/a/test.txt")
113114
assert len(content['a']['test.txt']) == file_size
114115

116+
115117
def test_sftpserver_round_trip(content, sftpclient, tmpdir):
116118
tmpfile = tmpdir.join("test.txt")
117119
thetext = u"Just some plain, normal text"

0 commit comments

Comments
 (0)