source: test/test_real_ftp.py

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @1718:8bed138bc404   22 months sschwarzer Don't inherit from `object` This is no longer needed because we're ...
(edit) @1713:f146a1ea66aa   22 months sschwarzer Remove `__future__` imports With the switch to Python 3.x-only, the ...
(edit) @1711:766c15f83205   22 months sschwarzer Set `use_list_a_option` to `False` by default See ticket #110 for the ...
(edit) @1671:2a3350ab9374   3 years sschwarzer Handle socket read timeout in `_available_child` When `FTPFile.close` ...
(edit) @1663:40280d912474   4 years sschwarzer Remove `unittest` dependency - Remove `unittest` imports - Let test ...
(edit) @1660:93ea351f922b   4 years sschwarzer Remove `unittest.main` calls Since we now use pytest as test runner ...
(edit) @1652:f0e353b392fd   4 years sschwarzer Adapt `test_real_ftp.py` for pytest ticket: 98
(edit) @1636:8a846e32b6de   5 years sschwarzer Fix invalid 226 reply bug (ticket 102) Under FTP server load, a 226 ...
(edit) @1620:525a118b3085   5 years sschwarzer Explain lack of tests for reading/writing beyond the end of a file ...
(edit) @1619:66ef713f4fe8   5 years sschwarzer Raise `CommandNotImplementedError` if `rest` is used for text files ...
(edit) @1618:3cb69eca3e41   5 years sschwarzer Add `rest` argument to `FTPHost.open` Allow a `rest` argument in ...
(edit) @1615:88b0ffa3b6ee   5 years sschwarzer Make comment easier to understand
(edit) @1612:f1bdb11422ab   5 years sschwarzer Add test for path with non-latin1 unicode string ftplib (under Python ...
(edit) @1609:5065ec7ab12f   5 years sschwarzer Remove test `TestOther.test_bytes_file_name` This test is superseded ...
(edit) @1608:61b6654aed0a   5 years sschwarzer Remove sentinel code for Python 2 No longer prevent running ...
(edit) @1599:4dd8b4d6aba7   5 years sschwarzer Add `FTPHost.listdir` tests for ticket #100 Other methods that take ...
(edit) @1564:c5b353a1c23d   6 years sschwarzer List contributors in `doc/contributors.txt`. So far, individual files ...
(edit) @1513:62b40a241d29   6 years sschwarzer Fixed broken links in source code comments.
(edit) @1510:d0f1e9066ef9   6 years sschwarzer Added docstring with file system tree to `TestWalk`. This way it's ...
(edit) @1509:a31eac83a28a   6 years sschwarzer Use comment characters to keep the code visually together.
(edit) @1506:f40b9f6738d0   6 years sschwarzer Added support for `followlinks` in `FTPHost.walk` (ticket #73).
(edit) @1505:896e116fb447   6 years sschwarzer Added `dir3/dir32` as a link to `../dir1/dir12/dir123`.
(edit) @1504:1e0a779febee   6 years sschwarzer Renamed real dir `dir33` to `dir31`.
(edit) @1503:9d08fbe3c750   6 years sschwarzer Refactored `walk` tests to avoid duplicated code.
(edit) @1494:30df847fea39   7 years sschwarzer Added unit tests for `session_factory` helper. Most tests are done ...
(edit) @1460:d16e39a9b351   7 years sschwarzer Use `with` statement for local and remote files.
(edit) @1433:a98861420c5f   7 years schwa Defined own decorator for skipping long-running tests to avoid code ...
(edit) @1432:470345d921fd   7 years sschwarzer Make it possible to skip long-running tests. Set the environment ...
(edit) @1430:00c663e0a4ef   7 years sschwarzer Simplified unit tests running against actual FTP server.
(edit) @1375:2f5cdc44a364   7 years sschwarzer Unified identifiers to `dir_name`, `file_name` and `file_system`.
(edit) @1371:a781fb556bd3   7 years sschwarzer Added a test to see if we can use pre-encoded byte strings for file ...
(edit) @1354:466c5dcbaa3d   7 years sschwarzer Removed `mode` argument from `download` and `upload` methods. From ...
(edit) @1343:bcadc5b1504f   7 years sschwarzer Use double quotes (") for strings. I used to have a rule to put ...
(edit) @1333:6e77caf20749   7 years sschwarzer Avoid resource leaks in real FTP test.
(edit) @1332:a21e319d7ef9   7 years sschwarzer Write `bytes` objects to files opened in binary mode. Writing unicode ...
(edit) @1319:01b85f6a1268   7 years sschwarzer Changed calls of `FTPHost.file` to `FTPHost.open`. Since `file` is no ...
(edit) @1289:4776bda3e5db   7 years sschwarzer Removed tests that check whether ftputil refuses unicode strings with ...
(edit) @1284:25228b207849   7 years sschwarzer Added tests for string type handling for `chdir` and `listdir`. TODO: ...
(edit) @1278:831382d92a2d   7 years sschwarzer Accept bytes or unicode strings for the path in `FTPHost.path.walk`.
(edit) @1273:ceaf2aecbeb6   7 years sschwarzer Ensure `FTPHost.path.exists` accepts both bytes and unicode strings. ...
(edit) @1258:3194e86fdd5c   7 years sschwarzer Cleaned up `test_real_ftp.py`.
(edit) @1257:27fda472d8bb   7 years sschwarzer Use `ftputil.compat.input` instead of `raw_input`. This does the same ...
(edit) @1239:1f6cd420d245   7 years sschwarzer Small comment changes.
(edit) @1221:3cbe256a36ef   8 years sschwarzer Make sure directory lines are converted to unicode on retrieval.
(edit) @1205:0eba346a99e5   8 years sschwarzer Processed tests and `setup.py` with `2to3` and fixed a few things. ...
(edit) @1196:04acdc17fd70   8 years sschwarzer Use modern string formatting with `format` method.
(edit) @1194:29b0cda2b042   8 years sschwarzer Use `except ExceptionClass as exc` for future Python 3 compatibility.
(edit) @1193:9510803a64b5   8 years sschwarzer Use `reversed(list)` instead of `list.reverse`. The latter was only ...
(edit) @1190:46a745d8cf24   8 years sschwarzer Prefer `import ftputil.xyz` over `from ftputil import xyz`. I applied ...
(edit) @1187:08c3d37b6a5f   8 years sschwarzer Simplified module names (`ftputil.ftp_xyz` -> `ftputil.xyz`).
(edit) @1180:e7e19b4044c9   8 years sschwarzer Use more idiomatic wording in "real test" information.
(edit) @1158:748cf00ca746   8 years sschwarzer Activated - now passing - test for ticket #39.
(edit) @1149:74bde432d0ec   8 years sschwarzer Use `LIST -a` by default, without probing (see comments in ticket ...
(edit) @1146:533f968af9aa   8 years sschwarzer Use `assertTrue`/`assertFalse` instead of `assertEqual` and `bool()`.
(edit) @1145:d4e7c0a9c974   8 years sschwarzer Added comments referring to ticket #66.
(edit) @1139:31a1b5455047   8 years sschwarzer Don't raise `PermanentError` for `host.path.isdir("/dir/subdir")` if ...
(edit) @1136:eca5938250d0   8 years sschwarzer Don't indent subsequent lines of multi-line comments.
(edit) @1132:893ecbbaeb37   8 years sschwarzer Improve startup message. Increased copyright year.
(edit) @1099:072104f6ae0e   8 years sschwarzer Adapted unit test to internal API change.
(edit) @1096:34fde55180be   8 years sschwarzer If the server's `LIST` command accepts the `-a` option, use it. The ...
(edit) @1076:4248cd9da26a   9 years sschwarzer Don't use deprecated `fail*` methods in unit tests.
(edit) @1075:3d75745b529c   9 years sschwarzer Don't use deprecated `assert_` method in tests.
(edit) @1040:dd9d9c95c7b6   10 years sschwarzer Removed `FTPHost.__del__` to fix bug #56. I had _partial_ success ...
(edit) @1039:cc9c0d744b61   10 years sschwarzer Made unit test match changeset 533063f1f2aa (10 % cache increase).
(edit) @1007:0fb499033581   10 years sschwarzer Added cache auto-resizing (see ticket #54). Ticket URL: ...
(edit) @999:8d0c84ff8f59   10 years sschwarzer Refactored some of the tests for non-ASCII unicode checks.
(edit) @998:8c59e4da5479   10 years sschwarzer Added unicode checks similar to commit 7ee81a2ca43a to `ftp_path.py`.
(edit) @997:7ee81a2ca43a   10 years sschwarzer Fail as early as possible if a method gets a non-ASCII unicode path. ...
(edit) @949:22f536ed0c57   10 years sschwarzer Don't use child sessions which have timed out. Fixes #44.
(edit) @948:05f29b7c220c   10 years sschwarzer Test if only closed child sessions are returned.
(edit) @947:5cfa3c73c415   10 years sschwarzer Backed out changeset 2cc96743b7cf.
(edit) @946:2cc96743b7cf   10 years sschwarzer Added test for `reset` method.
(edit) @944:45c530a885e6   10 years sschwarzer Keep it simple; pass only a data chunk into the callback function.
(edit) @941:bdabba7d2fa1   10 years sschwarzer We no longer need the `inspect` module.
(edit) @940:9cbafd321b59   10 years sschwarzer Use a `CallbackInfo` object instead of several parameters. For one, ...
(edit) @939:abd5c7bc2405   10 years sschwarzer Renamed `buffer` to `chunk` (more appropriate abstraction level).
(edit) @936:52ebff73dafa   10 years sschwarzer Moved most upload/download functionality to new `file_transfer.py`.
(edit) @929:db5336cce7f3   10 years sschwarzer Added support for upload/download callbacks. Still missing: - More ...
(edit) @928:7629bea5b6ff   10 years sschwarzer Improved docstring.
(edit) @927:7565a6b81a7b   10 years sschwarzer Extracted test classes for certain functionalities (e. g. removal).
(edit) @919:9081cbb403f7   10 years sschwarzer Removed second pause because it's no longer needed. The new logic for ...
(edit) @917:2046f7989e50   10 years sschwarzer If in doubt, transfer a file in a `...load_if_newer` call. This ...
(edit) @906:97a404840d1f   10 years sschwarzer Allow tests to be executed in subdirectory `test`.
(add) @903:aecd87cac282   10 years sschwarzer Moved tests into subdirectory.
Note: See TracRevisionLog for help on using the revision log.