From 90e0d73ee9238af7c80d9342a028d04028d4ae3a Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Tue, 13 Nov 2007 22:05:27 -0200 Subject: Implemented state resetting on replay() for RunCounter and Orderer. --- NEWS | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 25a9885..9ff0dbc 100644 --- a/NEWS +++ b/NEWS @@ -2,8 +2,12 @@ ================ - Added MockerTestCase.makeFile() and .makeDir() helpers. They offer - easy creation of temporary files/directories with certainty of - removal after tests finish running. + easy creation of temporary files/directories, and ensure that they + get removed after each test method runs. + +- If the replay() method is called twice, expectations will be fully + reset so that several similar tests may be performed in a row by + just calling replay() again. - Mocker.on_restore() removed. Restore isn't performed if replay() isn't called, and that may not be obvious, so a hook won't be -- cgit v1.2.1