From a6bdbdecfbe53924dc8e38768aed1d8037be6143 Mon Sep 17 00:00:00 2001 From: mike Date: Wed, 25 Nov 2009 22:12:40 +0000 Subject: LP 484518 : Code Review modifications of Engine --- (limited to 'tests/enginetests.py') diff --git a/tests/enginetests.py b/tests/enginetests.py index 4a8a3ca..2d1e723 100644 --- a/tests/enginetests.py +++ b/tests/enginetests.py @@ -103,7 +103,7 @@ class MockProbeMgrMultiAddons(object): currentActivity = property(fget=lambda s:s, fset=lambda s, v: v) def run_install_cb(self, action_number, action): - self._action_installed_cb_list[action_number](action, str(uuid1())) + self._action_installed_cb_list[action_number](str(uuid1())) def run_install_error_cb(self, action_number): self._install_error_cb_list[action_number](Exception("Could not install action...")) @@ -155,7 +155,7 @@ class MockProbeMgr(object): def install(self, action, action_installed_cb, error_cb): self.action = action - self._action_installed_cb = partial(action_installed_cb, action) + self._action_installed_cb = action_installed_cb self._install_error_cb = partial(error_cb, action) def update(self, action_address, newaction): -- cgit v0.9.1