summaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Add WarningsFilter fixtureStephen Finucane2022-10-191-0/+4
| | | | | | | | | This has enough users around OpenStack to justify adding it to 'fixtures' proper. It's intentionally dumb, since the main purpose of this is to avoid people calling `resetwarnings` in their variant of the fixture, as that clears *all* filters including those we don't control. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Drop support for Python 3.6Stephen Finucane2022-07-201-0/+3
| | | | | | It's EOL Signed-off-by: Stephen Finucane <stephen@that.guru>
* Release 4.0.1Colin Watson2022-06-011-0/+3
|
* Remove testtools from requirements.txt as wellColin Watson2022-06-011-0/+3
|
* Release 4.0.0Colin Watson2022-04-251-0/+3
|
* Document more changes since 3.0.0Colin Watson2022-04-251-1/+16
|
* Document change in NEWSColin Watson2022-04-251-0/+1
|
* Support all Popen arguments up to Python 3.10Colin Watson2022-02-091-0/+1
| | | | Fixes #53.
* Add support for Python 3.10Colin Watson2022-02-051-2/+2
|
* Drop support for Python < 3.6, add 3.7 - 3.9Stephen Finucane2021-02-251-1/+3
| | | | | | | These are all EOL. We don't need to support them any longer. There's additional cleanup here but that will be done separately. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Correct spelling mistakes.Edward Betts2018-02-171-1/+1
|
* Release 3.0.0.3.0.0Robert Collins2016-05-201-0/+3
|
* Fixup the MonkeyPatch patch.Robert Collins2016-05-201-0/+4
| | | | | | | | - docs. - cleanup patches of boundmethods to not leave cruft behind. - NEWS entry. Sem-Ver: api-break
* Fixup NEWS, release 2.0.2.0.0Robert Collins2016-04-071-0/+8
|
* Drop support for Python 3.2. It's history.Robert Collins2016-03-241-0/+3
| | | | Sem-Ver: api-break
* Add CompoundFixtureJonathan Lange2016-02-011-0/+3
| | | | CompoundFixture combines multiple fixtures into one.
* Fix "propagate" spelling everywhereJonathan Lange2015-11-031-1/+1
|
* Release 1.41.4Robert Collins2015-10-081-0/+3
|
* FakeLogger: Mis-formatted log messages will raise ExceptionJohn L. Villalovos2015-10-071-0/+3
| | | | | | | | | | | | | | | When using the FakeLogger, have mis-formatted logging messages raise an exception. Normally when using the logging module, mis-formatted logging messages will not raise an exception. Instead the exception will be printed but not raised. Change this behavior so that mis-formatted log messages can be caught during unit-testing. Closes-Bug: #1503049 Change-Id: I8d3e94d131289300ae020eb1d63306489e986335
* Use mock in preference to unittest.mock.Robert Collins2015-10-081-0/+4
| | | | | | If folk have installed both, they probably want the bugfixes from the rolling backport vs the potentially stale Python 3.3 or 3.4 etc version.
* Add a .travis.ymlRobert Collins2015-10-081-0/+3
|
* Release 1.3.11.3.1Robert Collins2015-06-301-0/+3
|
* Handle BaseException resource leaks as well.Robert Collins2015-06-301-0/+4
| | | | | The change to handle resource leaks incorrectly ignored BaseException - e.g. KeyboardInterrupt.
* Release 1.3.0.1.3.0Robert Collins2015-06-291-0/+3
|
* Deal with resource leaks during setUp.Robert Collins2015-06-291-0/+8
| | | | | | | | 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 Collins2015-06-221-0/+3
|
* Release 1.2.0.1.2.0Robert Collins2015-05-051-0/+3
|
* Add a warnings module capture fixureJoshua Harlow2015-05-041-0/+2
| | | | | | | | | | 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.
* Release 1.1.0 and use pbr 0.11 features.1.1.0Robert Collins2015-05-041-0/+3
|
* Missing NEWS entry.Robert Collins2015-05-041-0/+5
|
* Fixed test performance on Python 3.5.Robert Collins2015-03-271-0/+4
| | | | | 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 Collins2015-03-271-0/+2
|
* Release 1.0.01.0.0Robert Collins2014-10-281-0/+3
|
* remote copy/paste from another project.Gabi Davar2014-10-281-0/+8
|
* Release 0.3.17.0.3.17Robert Collins2014-09-261-0/+3
|
* Add support for datefmt in FakeLoggerSean Dague2014-09-261-0/+3
| | | | | | | | | | | | | | | 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-251-0/+4
| | | | No functional changes.
* 0.3.160.3.16Robert Collins2014-08-221-0/+9
| | | | | | | | | | ~~~~~~ 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-221-0/+3
|
* * ``FakeProcess`` wait() now supports arguments added in Python 3.Robert Collins2014-08-221-0/+3
|\ | | | | | | (Steve Kowalik)
| * * ``FakeProcess`` wait() now supports arguments added in Python 3.Steve Kowalik2014-08-221-0/+2
| | | | | | | | (Steve Kowalik)
* | * ``FakeProcess`` now supports kill(). (Steve Kowalik)Robert Collins2014-08-221-0/+2
|\ \ | |/
| * * ``FakeProcess`` now supports kill(). (Steve Kowalik)Steve Kowalik2014-08-191-0/+1
| |
* | * ``FakePopen`` now supports being called under a context manager (IE: with).Robert Collins2014-08-221-0/+3
|\ \ | |/ | | | | (Steve Kowalik)
| * * ``FakePopen`` now works under a context manager itself.Steve Kowalik2014-08-181-0/+6
| | | | | | | | (Steve Kowalik, #1358085)
* | * ``MonkeyPatch`` now preserves ``staticmethod`` functions.Robert Collins2014-08-221-0/+6
|/ | | | (Dan Kenigsberg)
* Release 0.3.140.3.14Robert Collins2013-08-161-0/+3
|
* * ``FakePopen`` can now override the returncode attribute.Robert Collins2013-08-161-0/+6
| | | | (Robert Collins)
* Release 0.3.130.3.13Robert Collins2013-08-161-0/+3
|
* * Documentation hopefully covers ``TestWithFixtures`` a little better.Robert Collins2013-08-161-0/+3
| | | | (Robert Collins, #1102688)