Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 1.0.0HEADtrunk | Robert Collins | 2014-10-28 | 2 | -1/+4 |
| | |||||
* | remote copy/paste from another project. | Gabi Davar | 2014-10-28 | 2 | -5/+8 |
| | |||||
* | Release 0.3.17. | Robert Collins | 2014-09-26 | 3 | -23/+12 |
| | |||||
* | Add support for datefmt in FakeLogger | Sean Dague | 2014-09-26 | 3 | -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 Collins | 2014-09-25 | 42 | -46/+76 |
| | | | | No functional changes. | ||||
* | 0.3.160.3.16 | Robert Collins | 2014-08-22 | 4 | -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.15 | Robert Collins | 2014-08-22 | 3 | -2/+5 |
| | |||||
* | * ``FakeProcess`` wait() now supports arguments added in Python 3. | Robert Collins | 2014-08-22 | 3 | -1/+8 |
|\ | | | | | | | (Steve Kowalik) | ||||
| * | * ``FakeProcess`` wait() now supports arguments added in Python 3. | Steve Kowalik | 2014-08-22 | 3 | -1/+7 |
| | | | | | | | | (Steve Kowalik) | ||||
* | | * ``FakeProcess`` now supports kill(). (Steve Kowalik) | Robert Collins | 2014-08-22 | 3 | -0/+9 |
|\ \ | |/ | |||||
| * | * ``FakeProcess`` now supports kill(). (Steve Kowalik) | Steve Kowalik | 2014-08-19 | 3 | -0/+8 |
| | | |||||
* | | * ``FakePopen`` now supports being called under a context manager (IE: with). | Robert Collins | 2014-08-22 | 3 | -0/+14 |
|\ \ | |/ | | | | | (Steve Kowalik) | ||||
| * | * ``FakePopen`` now works under a context manager itself. | Steve Kowalik | 2014-08-18 | 3 | -0/+17 |
| | | | | | | | | (Steve Kowalik, #1358085) | ||||
* | | * ``MonkeyPatch`` now preserves ``staticmethod`` functions. | Robert Collins | 2014-08-22 | 3 | -0/+29 |
|\ \ | |/ |/| | | | (Dan Kenigsberg) | ||||
| * | MonkeyPatch staticmethod | Dan Kenigsberg | 2014-01-19 | 2 | -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.14 | Robert Collins | 2013-08-16 | 3 | -2/+5 |
| | |||||
* | * ``FakePopen`` can now override the returncode attribute. | Robert Collins | 2013-08-16 | 3 | -1/+18 |
| | | | | (Robert Collins) | ||||
* | More releasing docs. | Robert Collins | 2013-08-16 | 1 | -0/+2 |
| | |||||
* | Release 0.3.130.3.13 | Robert Collins | 2013-08-16 | 4 | -2/+17 |
| | |||||
* | * Documentation hopefully covers ``TestWithFixtures`` a little better. | Robert Collins | 2013-08-16 | 3 | -1/+10 |
| | | | | (Robert Collins, #1102688) | ||||
* | Ignore an egg-info directory if it exists. | Robert Collins | 2013-08-16 | 1 | -0/+1 |
| | |||||
* | * ``setup.py`` now lists the ``testtools`` dependency which was missing. | Robert Collins | 2013-08-16 | 2 | -0/+6 |
| | | | | (Robert Collins, #1103823) | ||||
* | * ``FakePopen`` now accepts all the parameters available in Python 2.7. | Robert Collins | 2013-08-16 | 3 | -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.12 | Robert Collins | 2012-12-17 | 5 | -5/+48 |
| | |||||
* | Oops, setup.py wasn't 3.2 ready. | Robert Collins | 2012-12-17 | 1 | -1/+1 |
| | |||||
* | Add Python 3 Trove entry. | Robert Collins | 2012-12-17 | 1 | -0/+1 |
| | |||||
* | Release 0.3.11.0.3.11 | Robert Collins | 2012-12-17 | 3 | -3/+6 |
| | |||||
* | * pydoc is recommended as a source of info about fixtures. | Robert Collins | 2012-12-17 | 2 | -0/+6 |
| | | | | (Robert Collins, #812845) | ||||
* | * The docs for fixtures have been updated to cover the full API. | Robert Collins | 2012-12-17 | 2 | -2/+32 |
| | | | | (Robert Collins, #1071649) | ||||
* | * ``DetailStream`` was ambiguous about whether it handled bytes or characters, | Robert Collins | 2012-12-17 | 11 | -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 Collins | 2012-12-17 | 1 | -5/+18 |
| | | |||||
| * | * ``DetailStream`` was ambiguous about whether it handled bytes or characters, | Robert Collins | 2012-12-17 | 10 | -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 can | Robert Collins | 2012-12-16 | 5 | -13/+115 |
|\ | | | | | | | inject arbitrary handlers, giving more flexability. (Jonathan Lange) | ||||
| * | Drop the MementoHandler stuff. | Jonathan Lange | 2012-12-13 | 2 | -65/+1 |
| | | |||||
| * | Rest of the tests for LogHandler. | Jonathan Lange | 2012-12-13 | 1 | -0/+34 |
| | | |||||
| * | Give up on MementoHandler, just test LogHandler instead. | Jonathan Lange | 2012-12-13 | 4 | -19/+21 |
| | | |||||
| * | Change the MementoHandler to store a dict. | Jonathan Lange | 2012-12-13 | 4 | -4/+66 |
| | | | | | | | | Start testing the logger fixture. | ||||
| * | Make handler public. | Jonathan Lange | 2012-12-13 | 1 | -3/+3 |
| | | |||||
| * | Extract the handler managing bit of FakeLogger into its own fixture. | Jonathan Lange | 2012-12-13 | 1 | -12/+38 |
| | | |||||
| * | Add MementoHandler. | Jonathan Lange | 2012-12-13 | 2 | -2/+38 |
| | | |||||
* | | Release 0.3.10. | Robert Collins | 2012-12-11 | 3 | -2/+6 |
| | | |||||
* | | * New ``DetailStream`` fixture to add file-like object content to testtools | Robert Collins | 2012-12-11 | 8 | -9/+125 |
|\ \ | |/ |/| | | | | | details. This allows for easy capture of sys.stdout and sys.stderr for example. (Clark Boylan) | ||||
| * | Document DetailStream. | Robert Collins | 2012-12-11 | 1 | -0/+13 |
| | | |||||
| * | * New ``DetailStream`` fixture to add file-like object content to testtools | Clark Boylan | 2012-12-11 | 8 | -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 Collins | 2012-08-28 | 6 | -24/+189 |
| | | | | (Robert Collins) | ||||
* | Add 'join' method to TempDir. | Jonathan Lange | 2012-08-05 | 3 | -0/+36 |
|\ | |||||
| * | Rename to 'join'. | Jonathan Lange | 2012-08-05 | 3 | -8/+8 |
| | | |||||
| * | Update NEWS. | Jonathan Lange | 2012-08-04 | 1 | -0/+5 |
| | | |||||
| * | Add an 'abspath' helper. | Jonathan Lange | 2012-08-04 | 2 | -0/+31 |
| | | |||||
* | | Revert filetree patch, r54. Now in lp:treeshape. | Jonathan Lange | 2012-08-05 | 6 | -270/+7 |
|\ \ | |/ |