summaryrefslogtreecommitdiff
path: root/python/subunit/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.4.2.1.4.2Jelmer Vernooij2022-11-171-1/+1
|
* Fix reading of test lists.fix-test-listsJelmer Vernooij2022-11-161-5/+3
|
* Release 1.4.11.4.1Jelmer Vernooij2022-11-051-1/+1
|
* Stop using io imports from testtoolsStephen Finucane2021-12-151-8/+3
| | | | | | | We no longer need to worry about Python 2, so we can just import directly from 'io'. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Remove logic for Python < 3.6Stephen Finucane2021-12-151-10/+3
| | | | Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Sort Content-Type parameters when writing detailsColin Watson2021-07-271-1/+1
| | | | This simplifies tests by making the output more reproducible.
* Merge branch 'master' into testtools.compatMatthew Treinish2021-06-151-4/+4
|\
| * python: Mark rawstrings as suchStephen Finucane2021-04-201-4/+4
| | | | | | | | | | | | | | | | | | Resolves the following warnings in Python 3.6+: DeprecationWarning: invalid escape sequence \! match = re.match("Bail out\!(?:\s*(.*))?\n", line) Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | fix trailing commaMatthieu Huin2021-06-151-1/+1
| |
* | Fix imports from testtools.compatMatthieu Huin2021-06-151-1/+5
|/ | | | | | The future release of testtools will drop StringIO and BytesIO. Try to import them from testtools.compat, or from the io module if they're not available.
* Release 1.4.0.1.4.0Jelmer Vernooij2020-03-141-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
* Rely on file.__iter__ rather than file.readlines.Jelmer Vernooij2018-06-161-2/+2
|
* 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-251-1/+3
| | | | | | | | | | | | | | | | 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
* Release 1.2.1.2.0Robert Collins2015-10-231-1/+1
|
* Support --locals in tracebacks and release 1.1.01.1.0Robert Collins2015-03-101-1/+1
|
* Remove support for SUBUNIT_FORMATTER, which has been broken for a long time.Jelmer Vernooij2014-12-111-16/+0
|
* Release 1.0.0.1.0.0Robert Collins2014-11-191-1/+1
|
* 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-241-1/+1
| | | | | | | | | | | | ------ 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
|
* Release 0.0.17Robert Collins2014-01-291-1/+1
|
* Release 0.0.16.0.0.16Robert Collins2013-11-301-1/+1
|
* The test suite was failing 6 tests due to testtools changing it's outputRobert Collins2013-11-241-7/+0
| | | | formatting of exceptions. (Robert Collins)
* Release 0.0.150.0.15Robert Collins2013-08-251-1/+1
|
* Release 0.0.140.0.14Robert Collins2013-08-241-1/+1
|
* Release 0.0.13.0.0.13Robert Collins2013-06-171-1/+1
|
* Release 0.120.0.12Robert Collins2013-05-251-1/+1
|
* Release 0.0.11, depending on the new testtools StreamResult API.0.0.11Robert Collins2013-04-081-1/+1
|
* Fixes from getting testrepository running with v2.Robert Collins2013-03-061-2/+3
|
* Port existing filters to v2.Robert Collins2013-03-031-45/+53
|
* Add an implementation of parser and generator for v2 streams.Robert Collins2013-02-251-1/+1
|
* Start on an encoder.Robert Collins2013-02-221-0/+1
|
* Release 0.0.10.0.0.10Robert Collins2013-02-081-10/+13
|
* * make_stream_binary is now public for reuse. (Robert Collins)Robert Collins2013-02-071-5/+5
| | | | * NAME was not defined in the protocol BNF. (Robert Collins)
* Tweak Python3 support to help testrepository get 3-ready.Robert Collins2013-01-271-3/+3
|
* Release 0.0.9.0.0.9Robert Collins2012-12-171-0/+13
|
* * Test ids which include non-ascii unicode characters are now supported.Robert Collins2012-12-171-2/+8
| | | | (Robert Collins, #1029866)
* * The ``failfast`` option to ``subunit.run`` will now work. The dependency onRobert Collins2012-12-171-0/+6
| | | | | testtools has been raised to 0.9.23 to permit this. (Robert Collins, #1090582)
* Python3.1 support from Arfrever Frehtes Taifersar Arahesis.Robert Collins2012-05-081-1/+1
|
* Handle text stdin and stdout streams.Robert Collins2012-05-081-12/+40
|
* Clean up a flakeJonathan Lange2012-02-161-2/+2
|
* Merge trunkJonathan Lange2012-02-161-1/+12
|\
| * et binary mode on the stream for forwarding subunit output (mgz)Jonathan Lange2012-02-101-1/+3
| |\
| | * Set binary mode on the forwarded stream in ProtocolTestCase as used by filtersMartin Packman2012-01-041-1/+3
| | |
| * | Tag support has been implemented for TestProtocolClient.Robert Collins2012-01-111-0/+9
| |/ | | | | | | (Robert Collins, #518016)
* | Fix to call the public API in testtools.Jonathan Lange2012-02-091-4/+4
|/
* Couple of spelling corrections to python subunit module docstringMartin2011-08-071-2/+2
|
* Fix thinko in addSuccess refactoring.Robert Collins2011-05-021-1/+1
|