2015-05-18 21:49:12 |
Cedric Brandily |
bug |
|
|
added bug |
2015-05-18 21:53:34 |
Cedric Brandily |
description |
fixture cleanUp is only called if fixture setUp succeed: indeed fixture1.useFixture(fixture2) calls self.addCleanup(fixture2.cleanUp) only if fixture1.setUp() succeed |
When we do:
fixture1.useFixture(fixture2)
fixture2 cleanups are only called if fixture1.addCleanup(fixture2.cleanUp) is called ... but it's done in Fixture[1] only if fixture2.setUp() succeed.
[1] http://bazaar.launchpad.net/~testing-cabal/python-fixtures/master/view/head:/fixtures/fixture.py |
|
2015-05-18 21:53:35 |
Cedric Brandily |
python-fixtures: assignee |
|
Cedric Brandily (cbrandily) |
|
2015-05-18 23:45:33 |
Cedric Brandily |
branch linked |
|
lp:~cbrandily/python-fixtures/python-fixtures |
|
2015-05-20 14:17:02 |
John Schwarz |
bug |
|
|
added subscriber Maru Newby |
2015-05-20 14:17:14 |
John Schwarz |
bug |
|
|
added subscriber John Schwarz |
2015-05-27 13:55:31 |
Cedric Brandily |
python-fixtures: status |
New |
In Progress |
|
2015-06-22 07:12:26 |
Robert Collins |
python-fixtures: status |
In Progress |
Invalid |
|