summaryrefslogtreecommitdiffhomepage
path: root/tests/test_file.py
AgeCommit message (Collapse)Author
2023-05-05Migrate rest of main keys and update suite to be more pytest-relaxed compatJeff Forcier
Main branch as of today: 350 passed, 21 skipped, 52 deselected, 3 warnings in 11.10s This branch as of this commit: 361 passed, 21 skipped, 52 deselected, 3 warnings in 10.51s Of those 11 "new" tests, 8 are ones I wrote (tests/pkey.py). Hard to figure out what the other 3 are given pytest-relaxed's output is very different from regular verbose pytest. oops.
2023-01-27Twiddle File test to lack faux-misspellings in its cut-up stringsJeff Forcier
2023-01-11flake8Jeff Forcier
2023-01-11blackenJeff Forcier
2023-01-09Remove sys.version_info checksJeff Forcier
2023-01-09Update BytesIOJeff Forcier
2022-03-15Fix Free Software Foundation addressPaul Howarth
They moved from Temple Place to Franklin Street in 2005.
2019-06-08flake8 now applied to tests, huzzahJeff Forcier
2019-06-08Clean up shitty old test names of form test_[9-0A-Z]+_.*Jeff Forcier
2018-08-22Bump black up to 18.6b4Jeff Forcier
2018-05-29Blacken under black 18.5b0Jeff Forcier
2018-05-17Blacken Paramiko on 2.4Chris Rose
2017-10-23Why were these +x?Jeff Forcier
2017-10-23Import cleanup, mostly focused on s/tests/./Jeff Forcier
2017-06-09Allow any buffer type to written to BufferedFileMartin Packman
Fixes #967 Also adds test coverage for writing various types to BufferedFile which required some small changes to the test LoopbackFile subclass. Change against the 1.17 branch.
2015-09-24add unit tests for file-like object methods and update changelog and docsAdam Meily
2014-12-17Refactoringachapp
Added comments. Removed fifth line from test because it was unnecessary since the final line could be used instead.
2014-12-17new readline test passesachapp
Changed file.py readline() to always check for a newline. Had to make a few changes for what went into self._rbuffer in the case where buffer size was met or exceeded and we found a newline.
2014-12-17Test update/Fix progress temp saveachapp
Edited test to catch readline error. file.py code change in progress (DOES NOT WORK PROPERLY) so saving it temporarily.
2014-08-25Support passing in "buffer" objects again where bytestrings are expected.Jelmer Vernooij
This fixes bzr's use of paramiko. Fixes issue #343/#285.
2014-04-17BufferedFile.read() now returns byte strings instead of text stringsAntoine Brenner
It is the right thing to do since we have no idea what encoding the file is in, or even if the file is text data. BufferedFile.readline() is unchanged and returns text strings assuming the file is utf-8 encoded. This should fix the following issue: http://comments.gmane.org/gmane.comp.sysutils.backup.obnam/252 Antoine Brenner Conflicts: sites/www/changelog.rst
2014-03-07Start in on star import eradicationJeff Forcier
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-11-02Make sftp.open handle binary and text, more type conversionScott Maxwell
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py
2009-07-19fix my email address to be the current one.Robey Pointer
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2005-02-28[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]Robey Pointer
even better 1.2 lapras re-bump the version # to 1.2 (with a new date since i added more stuff). add 2005 to the copyright date in a bunch of files.
2004-09-11[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-81]Robey Pointer
more unit tests add test for BufferedFile.read(-1) and sftp.normalize().
2004-06-10[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-57]Robey Pointer
more unit tests add a unit test for sending a large (1MB) file with line buffering but no linefeeds (this triggered several bugs and inefficiencies), and another test to verify that the write buffer is flushed on seek.
2004-03-08[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-32]Robey Pointer
add unit tests add unit tests for BufferedFile and SFTP (it's a start). remove the demo sftp client because it was 99% copied from the other demos, which makes it kinda confusing. the unit tests are a much better example.