diff options
author | showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> | 2009-05-01 00:08:56 +0000 |
---|---|---|
committer | showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> | 2009-05-01 00:08:56 +0000 |
commit | f5a052b96039293b6069f1aee18ecc3b4405437d (patch) | |
tree | 9e003e9b4109e281b32b21a7bcac8c548ce23cc9 | |
parent | f7107766c82df416f6fd814e43cc004007353f9f (diff) |
Add missing mock god check playback and fix the test.
Signed-off-by: Gregory Smith <gps@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@3072 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r-- | client/common_lib/test_unittest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/common_lib/test_unittest.py b/client/common_lib/test_unittest.py index b00376a8..ee45532a 100644 --- a/client/common_lib/test_unittest.py +++ b/client/common_lib/test_unittest.py @@ -54,13 +54,14 @@ class Test_base_test_execute(TestTestCase): # tests the test._call_run_once implementation self.test.drop_caches_between_iterations.expect_call() - before_hook.expect_call() + before_hook.expect_call(self.test) self.test.run_once.expect_call(1, 2, arg='val') - after_hook.expect_call() + after_hook.expect_call(self.test) self.test.postprocess_iteration.expect_call() self.test.analyze_perf_constraints.expect_call([]) self.test._call_run_once(before_hook, after_hook, [], (1, 2), {'arg': 'val'}) + self.god.check_playback() def _expect_call_run_once(self): |