source: test

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) @1712:1b17d07f3a88   22 months sschwarzer Access `Callable` from `collections.abc` Honor `DeprecationWarning` ...
(edit) @1711:766c15f83205   22 months sschwarzer Set `use_list_a_option` to `False` by default See ticket #110 for the ...
(edit) @1699:906d7eda1e0b   3 years sschwarzer Add remark on "missing" ftp.microsoft.com
(edit) @1682:ec059f9d9dc8   3 years sschwarzer Handle infinite link chains in `isdir` and `isfile` If ...
(edit) @1679:80aa676d81b5   3 years sschwarzer Add TODO comment We can't add the comment in [4027740cdd2d] because ...
(edit) @1677:b4c9b089b6b8   3 years sschwarzer Apply `normpath` when getting the working directory When getting the ...
(edit) @1674:b2e19844d663   3 years sschwarzer Catch `EOFError` in `_available_child` If `host._session.pwd` raises ...
(edit) @1673:2cb5fa8e9206   3 years sschwarzer Add tests for the `_available_child` call Make the `pwd` method of ...
(edit) @1671:2a3350ab9374   3 years sschwarzer Handle socket read timeout in `_available_child` When `FTPFile.close` ...
(edit) @1666:afa733e4a84d   3 years sschwarzer Use directory entry with fixed year See [b5f33ec89ec0] for the reasoning.
(edit) @1665:b5f33ec89ec0   3 years sschwarzer Fix `test_stat.TestLstatAndStat.test_repr` The directory entry line ...
(edit) @1663:40280d912474   4 years sschwarzer Remove `unittest` dependency - Remove `unittest` imports - Let test ...
(edit) @1662:db924600a3c3   4 years sschwarzer Use copyright year range In revision 76779608d035 I had accidentally ...
(edit) @1661:0fa0dbf97443   4 years sschwarzer Change `assertRaises` to `pytest.raises` I obviously overlooked this ...
(edit) @1660:93ea351f922b   4 years sschwarzer Remove `unittest.main` calls Since we now use pytest as test runner ...
(edit) @1659:abc86a3e6e0e   4 years sschwarzer Use `fobj` instead of `f`, as in the other ftputil code
(edit) @1658:43e76a5a352d   4 years sschwarzer Adapt `test_with_statement.py` for pytest ticket: 98
(edit) @1657:30dd49b6f22c   4 years sschwarzer Adapt `test_tool.py` for pytest ticket: 98
(edit) @1656:08bc36ca7a92   4 years sschwarzer Adapt `test_sync.py` for pytest ticket: 98
(edit) @1655:d66da25dc032   4 years sschwarzer Adapt `test_stat.py` for pytest ticket: 98
(edit) @1654:b86501e21e09   4 years sschwarzer Adapt `test_stat_cache.py` for pytest ticket: 98
(edit) @1653:76779608d035   4 years sschwarzer Adapt `test_session.py` for pytest ticket: 98
(edit) @1652:f0e353b392fd   4 years sschwarzer Adapt `test_real_ftp.py` for pytest ticket: 98
(edit) @1651:c538f1c8b22a   4 years sschwarzer Adapt `test_public_servers.py` for pytest ticket: 98
(edit) @1650:da5ba2ff0217   4 years sschwarzer Adapt `test_path.py` for pytest ticket: 98
(edit) @1649:d72217c661d1   4 years sschwarzer Adapt `test_host.py` for pytest ticket: 98
(edit) @1648:04320be5049a   4 years sschwarzer Adapt `test_file_transfer.py` for pytest ticket: 98
(edit) @1647:039a9b8f04a7   4 years sschwarzer Convert `test/test_file.py` to use pytest ticket: 98
(edit) @1646:f2273a0e1ea9   4 years sschwarzer Use `pytest.raises` for exception checks ticket: 98
(edit) @1645:a04dd0813cc9   4 years sschwarzer Change `assert...` methods to `assert` statements ticket: 98
(edit) @1641:29ca006a3381   4 years sschwarzer Allow alternative exception test in `test_error_message_reuse` If one ...
(edit) @1636:8a846e32b6de   5 years sschwarzer Fix invalid 226 reply bug (ticket 102) Under FTP server load, a 226 ...
(edit) @1635:e7a19b88c541   5 years sschwarzer Add TODO comment See also changeset 0b722dda197d.
(edit) @1634:0b722dda197d   5 years sschwarzer Fix `TestLstatAndStat.test_repr` Probably due to a DST change, the ...
(edit) @1625:c84dd64b3eea   5 years sschwarzer Add `__repr__` so that a `StatResult` looks like a named tuple (#91) ...
(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) @1607:5b2f60275a3f   5 years sschwarzer Change expected error message in unit test ...
(edit) @1602:086cea309114   5 years sschwarzer Make `MockSession.transfercmd` compatible with the session adapter ...
(edit) @1599:4dd8b4d6aba7   5 years sschwarzer Add `FTPHost.listdir` tests for ticket #100 Other methods that take ...
(edit) @1595:a231d9cf62d6   5 years sschwarzer Sorted FTP servers alphabetically
(edit) @1594:80f299bfc985   5 years sschwarzer Replaced public FTP server ftp.kde.org with ftp.heise.de ftp.kde.org ...
(edit) @1580:95647a76b6c5   6 years sschwarzer Be explicit about unknown datetime precisions. Instead of relying on ...
(edit) @1579:7146d114d459   6 years sschwarzer Use `UNKNOWN_PRECISION` for pre-epoch datetimes.
(edit) @1578:bca0ec28c76c   6 years sschwarzer Move tests for valid unix lines before tests for invalid lines.
(edit) @1577:eebe89a0505b   6 years sschwarzer Small formatting change for sole `]` for closing a list.
(edit) @1576:f2998542a221   6 years sschwarzer Use named constants for datetime precisions. In unit tests, ...
(edit) @1574:b3b06ecffc0a   6 years sschwarzer Added a test for MS parser for pre-epoch years (see ticket #83).
(edit) @1573:663b036bb8f7   6 years sschwarzer Use more specific error handling when parsing datetimes.
(edit) @1572:79363bf644de   6 years sschwarzer Raise a `ParserError` if the day value isn't an integer.
(edit) @1571:2d21406a6d7f   6 years sschwarzer Fix error handling for invalid datetime components (e. g. day == 32).
(edit) @1569:20521872d3ff   6 years sschwarzer Use more straightforward tests for datetimes before the epoch.
(edit) @1567:3cf705ab8011   6 years Philippe Ombredanne Fix for ticket #83 Catch errors from mktime and use the epoch and a ...
(edit) @1565:a48f63e7ca64   6 years Philippe Ombredanne Fixed minor typos
(edit) @1564:c5b353a1c23d   6 years sschwarzer List contributors in `doc/contributors.txt`. So far, individual files ...
(edit) @1542:e9d24222f45e   6 years sschwarzer Added test for parsing the unix mode "----------". This "always" ...
(edit) @1513:62b40a241d29   6 years sschwarzer Fixed broken links in source code comments.
(edit) @1511:ce5c6ccebd47   6 years sschwarzer Expect time shift in 15-minute units, not hour units (ticket #81).
(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) @1502:23f0bc574981   7 years sschwarzer Raise `TypeError` instead of `PicklingError`. See also ...
(edit) @1501:cc42f6ab9d3e   7 years sschwarzer Encrypt data channel by default if a method `prot_p` exists. I think ...
(edit) @1498:25a5b264907c   7 years sschwarzer Added `from __future__ import unicode_literals`.
(edit) @1494:30df847fea39   7 years sschwarzer Added unit tests for `session_factory` helper. Most tests are done ...
(edit) @1483:0079a3a8be44   7 years sschwarzer Avoid `UnicodeDecodeError` for non-ASCII server messages. See ticket ...
(edit) @1482:600fb1c435a9   7 years sschwarzer Deliberately don't support pickling for `FTPHost` and `FTPFile`. ...
(edit) @1481:6e82349a3a14   7 years sschwarzer Use original exception message in `FTPError` (ticket #76). If we ...
(edit) @1480:9d44889174f4   7 years sschwarzer Use `TestCase.fail()` instead of `TestCase.assertTrue(False)`.
(edit) @1463:236791277fad   7 years sschwarzer Added `__all__` in `test/__init__.py`.
(edit) @1460:d16e39a9b351   7 years sschwarzer Use `with` statement for local and remote files.
(edit) @1455:65b33e7b4287   7 years sschwarzer Merged in changes made on warpy.
(edit) @1450:6b36c4505547   7 years sschwarzer Added test to check fix in revision 513437662176.
(edit) @1448:b17b6f2108db   7 years sschwarzer Renamed `test_stat` function to avoid confusing py.test.
(edit) @1444:233234b92f40   7 years sschwarzer Use a `bytes` value as second argument for `MockSession`.
(edit) @1443:a1c9d7fd439f   7 years sschwarzer Fix: Copy default from class. The previous "fix" actually shadowed ...
(edit) @1442:77dd3d06f44f   7 years sschwarzer Removed unused import of `sys`.
(edit) @1441:acbe574532a2   7 years sschwarzer Use correct method in test code (`cwd`, not `pwd`).
(edit) @1440:28d74bc43bfd   7 years sschwarzer Define instance attributes in constructor.
(edit) @1439:7918d8747e7a   7 years sschwarzer Use augmented assignment to change `self._transfercmds`.
(edit) @1436:4f26ad9b5427   7 years sschwarzer Added empty line before constructor.
(edit) @1435:a8342c4c1e6a   7 years sschwarzer Added missing import for `ftputil.tool`.
(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) @1355:8905f01326dc   7 years sschwarzer Use file name `_test_target_` instead of `__test_target`. This is in ...
(edit) @1354:466c5dcbaa3d   7 years sschwarzer Removed `mode` argument from `download` and `upload` methods. From ...
(edit) @1351:28ecf0816ccc   7 years sschwarzer Changed `_FTPFile` to `FTPFile`. This still isn't a public API. ...
Note: See TracRevisionLog for help on using the revision log.