lp:~cbrandily/python-fixtures/cleanup-context

Created by Cedric Brandily and last modified
Get this branch:
bzr branch lp:~cbrandily/python-fixtures/cleanup-context
Only Cedric Brandily can upload to this branch. If you are Cedric Brandily please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Cedric Brandily
Project:
Python Fixtures
Status:
Development

Recent revisions

96. By Cedric Brandily

Ensure cleanups are called even if setUp fails with fixture context

This change ensures that a fixture cleanups will be called even if
its setUp fails when used as a context.

Example:

  with MyFixture() as fixture1:
    pass

fixture1.cleanUp will be called even if fixture1.setUp (called in
fixture1.__enter__) fails.

95. By Robert Collins

Release 1.2.0.

94. By Joshua Harlow

Add a warnings module capture fixure

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.

93. By Robert Collins

Use universal wheels.

92. By Robert Collins

Release 1.1.0 and use pbr 0.11 features.

91. By Robert Collins

Missing NEWS entry.

90. By Sean Dague

add tox.ini file

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.

89. By Robert Collins

Fixed test performance on Python 3.5.

PEP 475 led to ``time.sleep()`` not being interrupted when a received signal
handler eats the signal (rather than raising an exception). (Robert Collins)

88. By Robert Collins

Add NEWS for FakeLogger formatter.

87. By Sean Dague

allow the specification of a custom log formatter

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.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:python-fixtures
This branch contains Public information 
Everyone can see this information.

Subscribers