Timeline


and

Jul 27, 2016:

10:54 PM Changeset [1663:40280d912474] by Stefan Schwarzer <sschwarzer@…>
Remove `unittest` dependency - Remove `unittest` imports - Let test case classes inherit from `object` instead of `unittest.TestCase` - Use `setup_method` and `teardown_method` instead of `unittest`'s `setUp` and `tearDown` - Use `pytest.mark.skipif` instead of `unittest.skipIf` - Use `pytest.mark.slow_test` instead of decorator in `test/__init__.py`. Exclude slow tests with py.test -m "not slow_test" test - Replace some leftover `assert*` calls with `assert` statements - Replace `assert False, ...` with `pytest.fail` ticket: 98
10:32 PM Changeset [1662:db924600a3c3] by Stefan Schwarzer <sschwarzer@…>
Use copyright year range In revision 76779608d035 I had accidentally replaced the year 2014 with 2016. Instead I should have used a year range. This changeset fixes this. ticket: 98
9:48 PM Changeset [1661:0fa0dbf97443] by Stefan Schwarzer <sschwarzer@…>
Change `assertRaises` to `pytest.raises` I obviously overlooked this when doing the initial adaption for pytest. ticket: 98

Jul 26, 2016:

9:38 PM Changeset [1660:93ea351f922b] by Stefan Schwarzer <sschwarzer@…>
Remove `unittest.main` calls Since we now use pytest as test runner and not a shell loop in the makefile, there's no longer a need for explicit `unittest.main` calls. ticket: 98
9:27 PM Changeset [1659:abc86a3e6e0e] by Stefan Schwarzer <sschwarzer@…>
Use `fobj` instead of `f`, as in the other ftputil code
9:26 PM Changeset [1658:43e76a5a352d] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_with_statement.py` for pytest ticket: 98
9:12 PM Changeset [1657:30dd49b6f22c] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_tool.py` for pytest ticket: 98
9:10 PM Changeset [1656:08bc36ca7a92] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_sync.py` for pytest ticket: 98
9:07 PM Changeset [1655:d66da25dc032] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_stat.py` for pytest ticket: 98
8:47 PM Changeset [1654:b86501e21e09] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_stat_cache.py` for pytest ticket: 98
8:43 PM Changeset [1653:76779608d035] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_session.py` for pytest ticket: 98
8:32 PM Changeset [1652:f0e353b392fd] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_real_ftp.py` for pytest ticket: 98
7:57 PM Changeset [1651:c538f1c8b22a] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_public_servers.py` for pytest ticket: 98
7:39 PM Changeset [1650:da5ba2ff0217] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_path.py` for pytest ticket: 98
6:58 PM Changeset [1649:d72217c661d1] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_host.py` for pytest ticket: 98
6:57 PM Changeset [1648:04320be5049a] by Stefan Schwarzer <sschwarzer@…>
Adapt `test_file_transfer.py` for pytest ticket: 98
6:34 PM Changeset [1647:039a9b8f04a7] by Stefan Schwarzer <sschwarzer@…>
Convert `test/test_file.py` to use pytest ticket: 98

Jul 24, 2016:

11:28 PM Changeset [1646:f2273a0e1ea9] by Stefan Schwarzer <sschwarzer@…>
Use `pytest.raises` for exception checks ticket: 98
11:11 PM Changeset [1643:de4ce0c5b7ed] by Stefan Schwarzer <sschwarzer@…>
Ignore `.cache` directory
11:09 PM Changeset [1645:a04dd0813cc9] by Stefan Schwarzer <sschwarzer@…>
Change `assert...` methods to `assert` statements ticket: 98
9:30 PM Changeset [1644:1bfbb2e5d2e8] by Stefan Schwarzer <sschwarzer@…>
Use `pytest` as test runner for `make test` Reasons: - The implementation for the `test` target gets more compact. - The test output gets also more compact. - `pytest` is more widely used than it was. Nowadays many Python developers have `pytest` installed. - The `tox_test` target already implicitly requires `pytest`. ticket: 98
9:02 PM Changeset [1642:dc8d763c21c5] by Stefan Schwarzer <sschwarzer@…>
Add `M2Crypto` The Python 2 tests need it. Don't rely on `M2Crypto` from outside the virtual environment.
6:48 PM Changeset [1641:29ca006a3381] by Stefan Schwarzer <sschwarzer@…>
Allow alternative exception test in `test_error_message_reuse` If one of the `socket` functions is called from `ftplib` with a host string of the form `localhost:21`, this results in a `gaierror`. It seems the error string for this exception has changed at some point. Change the unit test so that it works with both the old and the new exception string.

Jun 2, 2016:

7:04 AM Changeset [1640:1fda2565e609] by Stefan Schwarzer <sschwarzer@…>
README.md edited online with Bitbucket
Note: See TracTimeline for information about the timeline view.