lp:~niemeyer/mocker/trunk

Created by Gustavo Niemeyer and last modified
Get this branch:
bzr branch lp:~niemeyer/mocker/trunk
Only Gustavo Niemeyer can upload to this branch. If you are Gustavo Niemeyer please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gustavo Niemeyer
Project:
Mocker
Status:
Development

Recent revisions

73. By Gustavo Niemeyer

Introduced the more natural reading assertIsNotInstance().

72. By Gustavo Niemeyer

Added assertRaisesRegexp() 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.

69. By Gustavo Niemeyer

Minor cleanups in the test suite.

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.

67. By Gustavo Niemeyer

Fixed duplicated line in NEWS file.

66. By Gustavo Niemeyer

Setting version and date in NEWS file.

65. By Gustavo Niemeyer

Preparing to release version 1.0!

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)
This branch contains Public information 
Everyone can see this information.