summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2007-12-05 20:49:55 -0200
committerGustavo Niemeyer <gustavo@niemeyer.net>2007-12-05 20:49:55 -0200
commitb04e870828e81f0f519ad31eae43d1eb0091d692 (patch)
tree236d722852f5ce47a261a3460e04fe9d83c3aeba /NEWS
parent5c7342b0fd9caf32d9b5d3077175e2bf21b7460f (diff)
downloadmocker-b04e870828e81f0f519ad31eae43d1eb0091d692.tar.gz
New MATCH() argument matcher, which allows using a function
to match an argument generically. E.g. MATCH(lambda x: x > 10)
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 78ffccf..10cb855 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,9 @@
- MockerTestCase now verifies if the mocker is put in replay
mode in cases where events were recorded.
+- New MATCH() argument matcher, which allows using a function
+ to match an argument generically. E.g. MATCH(lambda x: x > 10)
+
- Now when a spec is provided (or with proxy/replace/patch) the
existence of the real method is checked even if the mocked
method doesn't have to execute (e.g. due to count(0)).