summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* Add support for parsing in a regex to apply to test ids.Jelmer Vernooij2018-03-242-1/+32
| | | | Bug: pad.lv/1758522
* Fixup NEWS and versions for recent workRobert Collins2018-01-251-1/+1
|
* Check for ValueError in write only check in _unwrap_text()Matthew Treinish2017-09-252-1/+44
| | | | | | | | | | | | | | | | In the _unwrap_text() function it checks by trying to read or write to the stream to see if it's wrapped or not and return the buffer. The check there first tries to read and if an exception of the proper type is raised it will assume it was opened in write mode and proceed to check for a buffer by writing to the stram. However this check is missing an exception to check for. If a FileIO object is passed in on Python 2.7 (which can be the case sometimes for sys.stdout, although I haven't figured out under which circumstances) then a ValueError will be raised. [1] To enable using _unwrap_text() when a FileIO object is used this commit adds a ValueError to the list of exception types to handle this case. [1] https://github.com/python/cpython/blob/2.7/Modules/_io/fileio.c#L431
* Fallback to reading one-byte-at-a-time on Windows (#22)Claudiu Belu2017-03-021-0/+5
| | | | select.select does not work on file descriptors on Windows, causing subunit to fail.
* Release 1.2.1.2.0Robert Collins2015-10-231-1/+1
|
* Fix StreamResultToBytes._write_packet()Victor Stinner2015-10-201-3/+17
| | | | | | | | Call write() in a loop until all bytes are written. The write() method doesn't ensure that all bytes are written. This change should workaround the eventlet bug: https://github.com/eventlet/eventlet/issues/248
* Skip hypothesis tests on 3.2Robert Collins2015-10-201-10/+15
| | | | (It's not 3.2 compatible at the moment).
* Handle very short packetsRobert Collins2015-08-042-1/+19
| | | | Yay quickcheck.
* Add subunit2disk which exports a stream to the fs.Robert Collins2015-07-133-0/+182
|
* Handle pypy, Python 3.4 and 3.5 in tests.Robert Collins2015-07-132-9/+10
|
* Support --locals in tracebacks and release 1.1.01.1.0Robert Collins2015-03-103-8/+9
|
* Remove support for SUBUNIT_FORMATTER, which has been broken for a long time.Jelmer Vernooij2014-12-112-19/+1
|
* Remove unused import.Jelmer Vernooij2014-12-021-1/+0
|
* Release 1.0.0.1.0.0Robert Collins2014-11-191-1/+1
|
* Improve showing of import errors in the Python runner.Robert Collins2014-11-182-1/+17
| | | | This depends on testtools 1.4.0 to get the improved behaviour.
* Fix tests with testtools 1.2.0 and above.Robert Collins2014-11-181-2/+7
| | | | | Import errors don't break execution or listing now in testtools, so to test execution breaking we have to be a little bit more direct.
* 0.0.210.0.21Robert Collins2014-08-271-1/+1
| | | | | | | | | | ------ BUGFIXES ~~~~~~~~ * Brown bag bugfix - 0.0.20's setup.py referenced cvs not csv. (Robert Collins, #1361924)
* Release 0.0.200.0.20Robert Collins2014-08-271-1/+1
| | | | | | | Also * The python-subunit tarball can now have setup run from the current directory. (Robert Collins, #1361857)
* 0.0.19Robert Collins2014-08-243-26/+64
| | | | | | | | | | | | ------ IMPROVEMENTS ~~~~~~~~~~~~ * ``subunit.run`` in Python will now exit 0 as long as the test stream has been generated correctly - this has always been the intent but API friction with testtools had prevented it working. (Robert Collins)
* Release 0.0.18.0.0.18Robert Collins2014-01-301-1/+1
|
* Fix support for testtools 0.6.35.Robert Collins2014-01-301-1/+0
|
* Release 0.0.17Robert Collins2014-01-291-1/+1
|
* Import matcher used.Thomi Richards2014-01-131-0/+1
|
* Fix failing test on py33.Thomi Richards2014-01-131-6/+4
|
* Fix failing test in python 3.2.Thomi Richards2013-12-161-1/+1
|
* Make tests work in py2 and py3.Thomi Richards2013-12-101-1/+5
|
* Don't make tests convert to and from bytes. Instead, just use a StreamResult ↵Thomi Richards2013-12-102-17/+49
| | | | double. Update test code.
* Generate scenarios inside subunit.tests.test_suite, not by subclassing ↵Thomi Richards2013-12-092-4/+7
| | | | WithScenarios.
* Don't need to patch stderr anymore in the tests.Thomi Richards2013-12-091-23/+10
|
* Allow the use of the --tag argument without specifying a test id.Thomi Richards2013-12-092-18/+17
|
* Use the 'append' action, instead of specifying tags as a comma-separated ↵Thomi Richards2013-12-092-21/+15
| | | | list of values.
* Fix typo.Thomi Richards2013-12-091-1/+1
|
* Patch sys.stdin correctly for testing.Thomi Richards2013-12-021-4/+4
|
* Use make_stream_binary to turn stdin into a binary stream.Thomi Richards2013-12-021-4/+2
|
* Fix failing tests.Thomi Richards2013-12-022-5/+5
|
* Fix failing tests.Thomi Richards2013-12-021-1/+1
|
* Merged trunk, fixed conflict.Thomi Richards2013-12-023-8/+25
|\
| * Release 0.0.16.0.0.16Robert Collins2013-11-301-1/+1
| |
| * Exit non-zero when listing includes import failures.Robert Collins2013-11-302-7/+24
| |
| * Another case of trailing whitespace.Thomi Richards2013-11-251-1/+1
| |
* | Remove debugging code.Thomi Richards2013-11-251-9/+0
| |
* | Read binary from stdin.Thomi Richards2013-11-251-1/+4
| |
* | Add tests around reading binary files, empty files, and stdin.Thomi Richards2013-11-251-0/+33
| |
* | Open files in binary mode.Thomi Richards2013-11-251-4/+4
| |
* | Make usage line match help text.Thomi Richards2013-11-251-1/+1
| |
* | Added test for poorly specified tags.Thomi Richards2013-11-252-1/+10
| |
* | Add a few missing tests.Thomi Richards2013-11-252-2/+33
| |
* | Lots of fixes from code review.Thomi Richards2013-11-252-180/+301
| |
* | Add a few more tests for error cases in option parser.Thomi Richards2013-11-252-11/+35
| |
* | Merge trunk.Thomi Richards2013-11-253-18/+30
|\ \ | |/