details fail to be collected from fixture
Bug #1323566 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Fixtures |
Triaged
|
High
|
Unassigned |
Bug Description
TestWithFixture
The gather_details method now takes two dictionaries as arguments, not objects. The previous call is the bare except handler is correct.
The simple fix won't work, as fixture.
To post a comment you must log in.
This code demonstrates the issue, and that defering the call to gather_details fixes some of the issues. Note however that details collected in the fixture's cleanup routines are not reported due to the run order of the cleanup hooks. Gathering the details in Fixture.cleanUp, after running all the hooks, is probably best.