lp://staging/~niemeyer/mocker/trunk
- Get this branch:
- bzr branch lp://staging/~niemeyer/mocker/trunk
Branch merges
Branch information
Recent revisions
- 72. By Gustavo Niemeyer
-
Added assertRaisesReg
exp() to MockerTestCase. It works similarly to
the version in Python 2.7 and 3.2, except it will also return the error
found. It also works as a context manager for with: statements. - 71. By Gustavo Niemeyer
-
- Implemented support for assertRaises() as a context manager, as in
Python 2.7 and 3.2.
- Implemented assertIsInstance() and assertIsNotInstance() as well.
- Updated NEWS file. - 70. By Gustavo Niemeyer
-
Tasks now have a may_run_user_code() method, which is used for tasks which
can potentially run unknown code or throw unknown exceptions. This is used
by the Event.run() method to prevent running unknown logic when the event
as a whole is already known to have failed. - 68. By Gustavo Niemeyer
-
mocker.call() now supports a with_object argument. If True, the called
function will receive the patched or proxied object so that its state
may be used or verified in checks. - 64. By Gustavo Niemeyer
-
MockerTestCase.
assertRaises( ) will now return the exception raised,
allowing further inspection of the raised exception (implemented by
Thomas Hervé) (#299930).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)