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.  

Download RDF metadata

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

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon mocker-1.1.tar.bz2 (md5, sig) Source code 12,106
last downloaded 9 weeks ago
Total downloads: 12,106

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.assertRaises(Error):
          raising_logic()

- 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.

- Added assertIsInstance() and assertNotIsInstance().

- Fixed bug #634566, reported by Mark Hammond, where throw(Error) effects
  might make the recorded action be accepted multiple times.

Changelog 

View the full changelog

- 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.assertRaises(Error):
          raising_logic()

- 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.

- Added assertIsInstance() and assertNotIsInstance().

- Fixed bug #634566, reported by Mark Hammond, where throw(Error) effects
  might make the recorded action be accepted multiple times.

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