summaryrefslogtreecommitdiff
path: root/tests/test_file.py
Commit message (Collapse)AuthorAgeFilesLines
* Twiddle File test to lack faux-misspellings in its cut-up stringsJeff Forcier2023-01-271-2/+3
|
* flake8Jeff Forcier2023-01-111-1/+0
|
* blackenJeff Forcier2023-01-111-1/+1
|
* Remove sys.version_info checksJeff Forcier2023-01-091-9/+0
|
* Update BytesIOJeff Forcier2023-01-091-1/+1
|
* Fix Free Software Foundation addressPaul Howarth2022-03-151-1/+1
| | | | They moved from Temple Place to Franklin Street in 2005.
* flake8 now applied to tests, huzzahJeff Forcier2019-06-081-2/+2
|
* Clean up shitty old test names of form test_[9-0A-Z]+_.*Jeff Forcier2019-06-081-11/+11
|
* Bump black up to 18.6b4Jeff Forcier2018-08-221-1/+0
|
* Blacken under black 18.5b0Jeff Forcier2018-05-291-2/+2
|
* Blacken Paramiko on 2.4Chris Rose2018-05-171-66/+73
|
* Why were these +x?Jeff Forcier2017-10-231-0/+0
|
* Import cleanup, mostly focused on s/tests/./Jeff Forcier2017-10-231-4/+4
|
* Allow any buffer type to written to BufferedFileMartin Packman2017-06-091-10/+47
| | | | | | | | | | 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.
* add unit tests for file-like object methods and update changelog and docsAdam Meily2015-09-241-3/+24
|
* Refactoringachapp2014-12-171-4/+5
| | | | | Added comments. Removed fifth line from test because it was unnecessary since the final line could be used instead.
* new readline test passesachapp2014-12-171-0/+1
| | | | | | 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.
* Test update/Fix progress temp saveachapp2014-12-171-1/+3
| | | | | Edited test to catch readline error. file.py code change in progress (DOES NOT WORK PROPERLY) so saving it temporarily.
* Support passing in "buffer" objects again where bytestrings are expected.Jelmer Vernooij2014-08-251-0/+10
| | | | | | This fixes bzr's use of paramiko. Fixes issue #343/#285.
* BufferedFile.read() now returns byte strings instead of text stringsAntoine Brenner2014-04-171-20/+25
| | | | | | | | | | | | | 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
* Start in on star import eradicationJeff Forcier2014-03-071-1/+1
|
* Fix some deprecation and resource warningsScott Maxwell2013-11-021-6/+6
|
* Make sftp.open handle binary and text, more type conversionScott Maxwell2013-11-021-5/+6
|
* Fixed a typo in the license header of most filesJeff Forcier2013-09-271-1/+1
| | | | | Conflicts: paramiko/proxy.py
* fix my email address to be the current one.Robey Pointer2009-07-191-1/+1
|
* [project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer2007-02-131-3/+1
| | | | bump copyright year to 2007
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]Robey Pointer2005-02-281-1/+1
| | | | | | | 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.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-81]Robey Pointer2004-09-111-2/+17
| | | | | more unit tests add test for BufferedFile.read(-1) and sftp.normalize().
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-57]Robey Pointer2004-06-101-1/+0
| | | | | | | 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.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-32]Robey Pointer2004-03-081-0/+139
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.