| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Remove trailing whitespace. | Robert Collins | 2015-06-29 | 1 | -1/+1 | |
| | | ||||||
| * | Deal with resource leaks during setUp. | Robert Collins | 2015-06-29 | 18 | -59/+198 | |
| | | | | | | | | | Fixture.setUp should no longer be overridden in subclasses. Instead override _setUp. This permits the Fixture base class to detect failures during _setUp and trigger any registered cleanups, attach any details to the failure exception and propogate that to callers. (Robert Collins, #1456361, #1456353) | |||||
| * | Missed NEWS entry. | Robert Collins | 2015-06-22 | 1 | -0/+3 | |
| | | ||||||
| * | Fine tune the mock patch. | Robert Collins | 2015-06-22 | 5 | -13/+41 | |
| | | ||||||
| * | Add a new mockpatch fixture | Julien Danjou | 2015-06-22 | 6 | -0/+161 | |
| | | | | | | This fixture provides an easy usage for mock (unittest.mock in Python 3). | |||||
| * | Document where the project home and source are. | Robert Collins | 2015-06-22 | 1 | -0/+7 | |
| | | ||||||
| * | Ignore built things. | Robert Collins | 2015-06-22 | 1 | -0/+2 | |
| | | ||||||
| * | Release 1.2.0.1.2.0 | Robert Collins | 2015-05-05 | 1 | -0/+3 | |
| | | ||||||
| * | Add a warnings module capture fixure | Joshua Harlow | 2015-05-04 | 5 | -0/+98 | |
| | | | | | | | | | | | Capturing the warnings module output (which is typically used for deprecating code or functions or modules) is quite useful and is a frequent operation that can be required to perform. So provide a fixture that is similar (but not the same) as the warnings ``catch_warnings`` context manager that can be used to gather all warnings emitted and allows people to later analyze them to ensure they are as they expect. | |||||
| * | Use universal wheels. | Robert Collins | 2015-05-04 | 1 | -0/+3 | |
| | | ||||||
| * | Release 1.1.0 and use pbr 0.11 features.1.1.0 | Robert Collins | 2015-05-04 | 4 | -10/+11 | |
| | | ||||||
| * | Missing NEWS entry. | Robert Collins | 2015-05-04 | 1 | -0/+5 | |
| | | ||||||
| * | add tox.ini file | Sean Dague | 2015-03-27 | 1 | -0/+12 | |
| | | | | | | | | | Provide tox configuration to make it easy to run tests locally against different python environments without have to install dependencies into the system. The default env is left at py27 only for compatibility, however tox -e py33 and tox -e py34 will work fine with this in place. | |||||
| * | Fixed test performance on Python 3.5. | Robert Collins | 2015-03-27 | 2 | -4/+8 | |
| | | | | | | PEP 475 led to ``time.sleep()`` not being interrupted when a received signal handler eats the signal (rather than raising an exception). (Robert Collins) | |||||
| * | Add NEWS for FakeLogger formatter. | Robert Collins | 2015-03-27 | 1 | -0/+2 | |
| | | ||||||
| * | allow the specification of a custom log formatter | Sean Dague | 2015-03-26 | 2 | -2/+30 | |
| | | | | | | | | | | | When working on OpenStack in tree functional test things like the context information is extremely useful to have access to. This relies on using custom log formatter, which currently can't be done in fixtures. The creates an additional optional parameter for FakeLogger to specify this. | |||||
| * | Release 1.0.01.0.0 | 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.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 | |
| | | | ||||||
