summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.0.0HEADtrunkRobert Collins2014-10-282-1/+4
|
* remote copy/paste from another project.Gabi Davar2014-10-282-5/+8
|
* Release 0.3.17.Robert Collins2014-09-263-23/+12
|
* Add support for datefmt in FakeLoggerSean Dague2014-09-263-2/+19
| | | | | | | | | | | | | | | The logging fixture is extremely useful to be used a temp buffer for collecting log messages into a buffer, and only decide if we're going to emit them after some event in the future (like the failure or success of some future criteria). However, in it's current form we are not given access to the datefmt variable of the underlying Formatter, which means we always end up with the default python time string for %(asctime), which looks incorrectly localized many places. This merely adds the ability to pass the datefmt param through to the Formatter. Signed-off-by: Sean Dague <sean@dague.net>
* Migrate to git and pbr.Robert Collins2014-09-2542-46/+76
| | | | No functional changes.
* 0.3.160.3.16Robert Collins2014-08-224-3/+12
| | | | | | | | | | ~~~~~~ CHANGES ------- * Fixed 0.3.15 on Python 2.6 - version info is a plain tuple there. (Robert Collins)
* Release 0.3.150.3.15Robert Collins2014-08-223-2/+5
|
* * ``FakeProcess`` wait() now supports arguments added in Python 3.Robert Collins2014-08-223-1/+8
|\ | | | | | | (Steve Kowalik)
| * * ``FakeProcess`` wait() now supports arguments added in Python 3.Steve Kowalik2014-08-223-1/+7
| | | | | | | | (Steve Kowalik)
* | * ``FakeProcess`` now supports kill(). (Steve Kowalik)Robert Collins2014-08-223-0/+9
|\ \ | |/
| * * ``FakeProcess`` now supports kill(). (Steve Kowalik)Steve Kowalik2014-08-193-0/+8
| |
* | * ``FakePopen`` now supports being called under a context manager (IE: with).Robert Collins2014-08-223-0/+14
|\ \ | |/ | | | | (Steve Kowalik)
| * * ``FakePopen`` now works under a context manager itself.Steve Kowalik2014-08-183-0/+17
| | | | | | | | (Steve Kowalik, #1358085)
* | * ``MonkeyPatch`` now preserves ``staticmethod`` functions.Robert Collins2014-08-223-0/+29
|\ \ | |/ |/| | | (Dan Kenigsberg)
| * MonkeyPatch staticmethodDan Kenigsberg2014-01-192-0/+23
|/ | | | | | | As noticed by Antoni S. Puimedon in http://gerrit.ovirt.org/23378/, in Python 2, setattr(Class, name, func) automatically converts a function into an instancemethod. To keep type(Class.func) as function, staticmethod(func) must be applied explicitly.
* Release 0.3.140.3.14Robert Collins2013-08-163-2/+5
|
* * ``FakePopen`` can now override the returncode attribute.Robert Collins2013-08-163-1/+18
| | | | (Robert Collins)
* More releasing docs.Robert Collins2013-08-161-0/+2
|
* Release 0.3.130.3.13Robert Collins2013-08-164-2/+17
|
* * Documentation hopefully covers ``TestWithFixtures`` a little better.Robert Collins2013-08-163-1/+10
| | | | (Robert Collins, #1102688)
* Ignore an egg-info directory if it exists.Robert Collins2013-08-161-0/+1
|
* * ``setup.py`` now lists the ``testtools`` dependency which was missing.Robert Collins2013-08-162-0/+6
| | | | (Robert Collins, #1103823)
* * ``FakePopen`` now accepts all the parameters available in Python 2.7.Robert Collins2013-08-163-5/+50
| | | | | | | (Robert Collins) * ``FakePopen`` now only passes parameters to the get_info routine if the caller supplied them. (Robert Collins)
* 0.3.12: 0.3.11 with tests for StringStream.0.3.12Robert Collins2012-12-175-5/+48
|
* Oops, setup.py wasn't 3.2 ready.Robert Collins2012-12-171-1/+1
|
* Add Python 3 Trove entry.Robert Collins2012-12-171-0/+1
|
* Release 0.3.11.0.3.11Robert Collins2012-12-173-3/+6
|
* * pydoc is recommended as a source of info about fixtures.Robert Collins2012-12-172-0/+6
| | | | (Robert Collins, #812845)
* * The docs for fixtures have been updated to cover the full API.Robert Collins2012-12-172-2/+32
| | | | (Robert Collins, #1071649)
* * ``DetailStream`` was ambiguous about whether it handled bytes or characters,Robert Collins2012-12-1711-66/+176
|\ | | | | | | | | | | | | which matters a lot for Python3. It now is deprecated with ByteStream and StringStream replacing it. (Robert Collins) * Fixtures is now Python3 compatible. (Robert Collins)
| * Update docs.Robert Collins2012-12-171-5/+18
| |
| * * ``DetailStream`` was ambiguous about whether it handled bytes or characters,Robert Collins2012-12-1710-61/+158
|/ | | | | | | which matters a lot for Python3. It now is deprecated with ByteStream and StringStream replacing it. (Robert Collins) * Fixtures is now Python3 compatible. (Robert Collins)
* * ``FakeLogger`` has been split out into a ``LogHandler`` fixture that canRobert Collins2012-12-165-13/+115
|\ | | | | | | inject arbitrary handlers, giving more flexability. (Jonathan Lange)
| * Drop the MementoHandler stuff.Jonathan Lange2012-12-132-65/+1
| |
| * Rest of the tests for LogHandler.Jonathan Lange2012-12-131-0/+34
| |
| * Give up on MementoHandler, just test LogHandler instead.Jonathan Lange2012-12-134-19/+21
| |
| * Change the MementoHandler to store a dict. Jonathan Lange2012-12-134-4/+66
| | | | | | | | Start testing the logger fixture.
| * Make handler public.Jonathan Lange2012-12-131-3/+3
| |
| * Extract the handler managing bit of FakeLogger into its own fixture.Jonathan Lange2012-12-131-12/+38
| |
| * Add MementoHandler.Jonathan Lange2012-12-132-2/+38
| |
* | Release 0.3.10.Robert Collins2012-12-113-2/+6
| |
* | * New ``DetailStream`` fixture to add file-like object content to testtoolsRobert Collins2012-12-118-9/+125
|\ \ | |/ |/| | | | | details. This allows for easy capture of sys.stdout and sys.stderr for example. (Clark Boylan)
| * Document DetailStream.Robert Collins2012-12-111-0/+13
| |
| * * New ``DetailStream`` fixture to add file-like object content to testtoolsClark Boylan2012-12-118-9/+112
|/ | | | | details. This allows for easy capture of sys.stdout and sys.stderr for example. (Clark Boylan)
* * Factor out new ``CallMany`` class to isolate the cleanup logic.Robert Collins2012-08-286-24/+189
| | | | (Robert Collins)
* Add 'join' method to TempDir.Jonathan Lange2012-08-053-0/+36
|\
| * Rename to 'join'.Jonathan Lange2012-08-053-8/+8
| |
| * Update NEWS.Jonathan Lange2012-08-041-0/+5
| |
| * Add an 'abspath' helper.Jonathan Lange2012-08-042-0/+31
| |
* | Revert filetree patch, r54. Now in lp:treeshape.Jonathan Lange2012-08-056-270/+7
|\ \ | |/