summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix up testing after switch to pytestChris Dent2018-10-232-1/+1
| | | | | | | | | | | | | | pytest exposes many warnings, some but not all of which are cleaned up here. The main switch is to use html.escape instead of cgi.escape. This inspired the addition of 'future' to requirements. The remaining warnings are related to pytest deprecations or over-eager test discovery. It is perhaps ironic that the switch to pytest is to avoid nose being mostly dead, and now we are using features in pytest that pytest wants to make dead. These are left for later cleanups, which means that running the tests is noisy.
* Merge pull request #1 from cdent/pytestChris Dent2018-10-236-36/+32
|\ | | | | Switch from nose to pytest
| * Switch from nose to pytestpytestMarc Abramowitz2016-03-086-36/+32
| |
| * Check paste.wsgilib.add_close._closedMarc Abramowitz2016-03-071-0/+2
| |
| * Add tests for `add_close` classMarc Abramowitz2016-03-071-0/+50
| |
| * Enable testing with pypytox_add_pypyMarc Abramowitz2016-03-071-2/+2
| | | | | | | | | | | | | | | | This involved: - Adding "pypy" to the `tox.ini` envlist. - Adding `# doctest: +IGNORE_EXCEPTION_DETAIL` to 2 doctests, because the traceback message text is slightly different on PyPy.
| * tox.ini: Add py35 to envlisttox_add_py35Marc Abramowitz2016-03-0765-0/+3385
|
* Fix proxy testChris Dent2018-10-231-4/+4
| | | | | | | | | | | The proxy test relied on pythonpaste.org being up and existing. It is neither. So instead we use httpbin.org which is often used for this kind of thing. Unfortunately httpbin is now a react app which means a lot of the HTML is generated client-side, which means we need to choose wisely. As the original comments indicate, the test is not particularly robust and remains so.
* make tests pass after 2031Bernhard M. Wiedemann2018-02-2166-0/+3437