Mocker 1.1
Milestone information
- Project:
- Mocker
- Series:
- trunk
- Version:
- 1.1
- Released:
- Registrant:
- Gustavo Niemeyer
- Release registered:
- Active:
- Yes. Drivers can target bugs and blueprints to this milestone.
Activities
- Assigned to you:
- No blueprints or bugs assigned to you.
- Assignees:
- 1 Gustavo Niemeyer
- Blueprints:
- No blueprints are targeted to this milestone.
- Bugs:
- 1 Fix Released
Download files for this release
Release notes
- 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.
- assertRaises() in MockerTestCase can now be used like Python 2.7 and 3.2,
as a context manager. This enables contructs such as:
with self.assertRais
- Added assertRaisesReg
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.
- Added assertIsInstance() and assertNotIsInst
- Fixed bug #634566, reported by Mark Hammond, where throw(Error) effects
might make the recorded action be accepted multiple times.
Changelog
0 blueprints and 1 bug targeted
Bug report | Importance | Assignee | Status | |||
---|---|---|---|---|---|---|
634566 | #634566 | throw event ignores count task | 3 High | Gustavo Niemeyer | 10 Fix Released |