Commit Graph

20 Commits

Author SHA1 Message Date
Andrew Murray
b9a5944058 Added pytest-timeout to test dependencies 2022-05-16 08:56:45 +10:00
Andrew Murray
dcf57f1457 unittest is no longer used in every test [ci skip] 2020-03-27 18:36:36 +11:00
Andrew Murray
dc0d1c9bee Invoke pip using python3 [ci skip] 2020-03-09 22:43:35 +11:00
Hugo
a1c6b5edf7 Cover tests https://nedbatchelder.com/blog/201908/dont_omit_tests_from_coverage.html 2019-11-20 17:28:12 +02:00
Andrew Murray
5b120164b5 Corrected underline [ci skip] 2019-08-17 20:32:24 +10:00
Jon Dufresne
4de5477b61 Remove unnecessary unittest.main() boilerplate from test files
With the introduction and use of pytest, it is simple and easy to
execute specific tests in isolation through documented command line
arguments. Either by specifying the module path or through the `-k
EXPRESSION` argument. There is no longer any need to provide the
boilerplate:

    if __name__ == '__main__':
        unittest.main()

To every test file. It is simply noise.

The pattern remains in test files that aren't named with `test_*` as
those files are not discovered and executed by pytest by default.
2019-02-03 10:10:16 -08:00
Hugo
cc35bd70bc No need to run coverage on dev machines 2017-12-28 14:49:47 +00:00
Hugo
b55ea4014e Calls pytest directly 2017-12-28 14:48:19 +00:00
hugovk
20d00c5fe9 Update test instructions 2017-12-28 14:48:19 +00:00
Jon Dufresne
dbe9f85c7d Drop support for Python 2.6
* Drop unittest2 requirement
* Use set literals
* Use dict/set comprehension
* Use str.format() automatic numbering
2016-11-22 04:23:55 -08:00
Andrew Murray
572a3d970c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
Andrew Murray
ef6f30b674 Fixed typo in Tests README.rst 2015-03-02 09:28:24 +11:00
wiredfool
8b2e7ee48a Additional dependencies [ci skip] 2014-08-26 14:48:17 -07:00
Hugo van Kemenade
cc6610e4f3 Detail test-installed.py
[CI skip]
2014-08-12 16:37:49 +03:00
Hugo van Kemenade
ae641c3d0f RST code formatting
[CI skip]
2014-08-08 13:54:14 +03:00
Hugo van Kemenade
884280d0e5 Update test instructions
[CI skip]
2014-08-08 13:51:06 +03:00
Alex Clark
a45c8aaf61 Fix error(s) 2014-06-27 08:45:39 -04:00
Alex Clark
2effb0d429 Fix error(s) 2014-06-27 08:44:53 -04:00
Alex Clark
2670204dbd Clean up 2014-06-27 08:44:28 -04:00
Alex Clark
2004fd0845 Prefer rst 2014-06-27 08:43:44 -04:00