2019-03-30 17:28:27 +00:00
|
|
|
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
|
2020-02-07 07:24:27 +00:00
|
|
|
index d94379f..4ee46a9 100644
|
2019-03-30 17:28:27 +00:00
|
|
|
--- a/tests/test_sftp.py
|
|
|
|
+++ b/tests/test_sftp.py
|
2020-02-07 07:24:27 +00:00
|
|
|
@@ -955,8 +955,8 @@ class _TestSFTP(_CheckSFTP):
|
2019-03-30 17:28:27 +00:00
|
|
|
|
|
|
|
try:
|
|
|
|
self._create_file('file')
|
2020-02-07 07:24:27 +00:00
|
|
|
- await sftp.chmod('file', 0o4321)
|
2019-03-30 17:28:27 +00:00
|
|
|
- self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o4321)
|
2020-02-07 07:24:27 +00:00
|
|
|
+ await sftp.chmod('file', 0o1234)
|
2019-03-30 17:28:27 +00:00
|
|
|
+ self.assertEqual(stat.S_IMODE(os.stat('file').st_mode), 0o1234)
|
|
|
|
finally:
|
|
|
|
remove('file')
|
|
|
|
|