diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2007-12-05 21:02:10 -0200 |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2007-12-05 21:02:10 -0200 |
commit | bdfd5ccb1e2e22408371b26b806886e20b971285 (patch) | |
tree | f8099d4e888275537c9d9f8b5300ca08328c134f /NEWS | |
parent | b04e870828e81f0f519ad31eae43d1eb0091d692 (diff) | |
download | mocker-bdfd5ccb1e2e22408371b26b806886e20b971285.tar.gz |
New 'path' option to MockerTestCase.makeFile() and makeDir(),
which allows setting the full target path with a single option.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ - New MATCH() argument matcher, which allows using a function to match an argument generically. E.g. MATCH(lambda x: x > 10) +- New 'path' option to MockerTestCase.makeFile() and makeDir(), + which allows setting the full target path with a single option. + - 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)). |