FixtureResource never gets remade
Bug #1023423 reported by
James Westby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testresources |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
FixtureResource overrides isDirty to state that it is always dirty.
However, when the support code sees that, it will trigger a call to reset()
The default code for reset only does a reset if self._dirty is true.
This means that despite always being dirty the resource is never cleaned.
+ def _get_dirty(self):
+ return True
+
+ def _set_dirty(self, new_val):
+ pass
+
+ _dirty = property(
Causes the fixture to always be reset.
Thanks,
James
Related branches
Changed in testresources: | |
assignee: | nobody → Robert Collins (lifeless) |
milestone: | none → next |
status: | Triaged → Fix Committed |
Changed in testresources: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Care to make a patch w/tests?