lp://staging/~jkakar/mocker/testresources-support
- Get this branch:
- bzr branch lp://staging/~jkakar/mocker/testresources-support
Branch merges
- Gustavo Niemeyer: Needs Fixing
- Diff: None lines
Related bugs
Bug #339030: It would be cool if mocker provided a testresources resource | Undecided | Won't Fix |
Related blueprints
Branch information
Recent revisions
- 54. By Jamu Kakar
-
- Add a MockerResource for use with ResourceTestCase from the
testresources module. - 53. By Gustavo Niemeyer
-
Merged 328990-
mocker- hides-exception branch from Duncan McGreggor. This
ensures that the raised AttributeError exception on a patched object
actually exposes the real problem rather than an internal Mocker
exception. - 52. By Gustavo Niemeyer
-
Moved the __mocker_mock__ cleaning up test from Patcher into its
own method around the Mocker.patch() tests. - 51. By Gustavo Niemeyer
-
Merging branch from Thomas which changes Mocker.patch() to use the
patcher when setting __mocker_mock__, rather than setting it in a
persistent way. - 50. By Gustavo Niemeyer
-
Prevent the MockerTestCase base from leaving the mocker in replay mode
while the base class run() method runs, since this might have additional
logic which touches mocked content (time.time() was one case). Thanks
to Thomas for the initial debugging. - 48. By Gustavo Niemeyer
-
When cleaning up on MockerTestCase, use reset() rather than restore(),
so that the same test case instance may be run more than once (like
Trial does).
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)