diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2016-04-23 18:44:48 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-04-23 18:44:48 -0700 |
commit | cdc4c6de258899bd481a999989eb7f16ddedce43 (patch) | |
tree | 27bd290440b68b3817f22e543a0a4b52230255cc /tests/test_sftp.py | |
parent | 3f151d44b95a414918237be91ae0fba8b167faa2 (diff) |
Update existing test to prove #632
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 aa450f59..6bce1794 100755 --- a/tests/test_sftp.py +++ b/tests/test_sftp.py @@ -610,7 +610,7 @@ class SFTPTest (unittest.TestCase): with sftp.open(FOLDER + '/bunny.txt', 'rb') as f: self.assertEqual(text, f.read(128)) - self.assertEqual((41, 41), saved_progress[-1]) + self.assertEqual([(41, 41)], saved_progress) os.unlink(localname) fd, localname = mkstemp() @@ -620,7 +620,7 @@ class SFTPTest (unittest.TestCase): with open(localname, 'rb') as f: self.assertEqual(text, f.read(128)) - self.assertEqual((41, 41), saved_progress[-1]) + self.assertEqual([(41, 41)], saved_progress) os.unlink(localname) sftp.unlink(FOLDER + '/bunny.txt') |