diff options
author | mike <michael.jmontcalm@gmail.com> | 2009-11-22 04:24:14 (GMT) |
---|---|---|
committer | mike <michael.jmontcalm@gmail.com> | 2009-11-24 04:21:56 (GMT) |
commit | 55a0596c92c33f7aa4763affaa097efdcf33cd3c (patch) | |
tree | 9aa3b7bd6e3db284c4592e67d375fea5ae420b9a /tests | |
parent | ffd52ee4591d3edba17d970682cd8c80984a5613 (diff) |
LP 448319 : Moving action installation to asynchronous version with confirmation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/enginetests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/enginetests.py b/tests/enginetests.py index 30d68de..f1efe45 100644 --- a/tests/enginetests.py +++ b/tests/enginetests.py @@ -43,13 +43,14 @@ class MockProbeMgr(object): currentActivity = property(fget=lambda s:s, fset=lambda s, v: v) - def install(self, action, block=False): + def install(self, action, action_installed_cb, error_cb): self.action = action + action_installed_cb(action, 'Action1') - def update(self, action, newaction, block=False): + def update(self, action_address, newaction): self.action = newaction - def uninstall(self, action, block=False): + def uninstall(self, action_address): self.action = None def subscribe(self, event, callback): @@ -73,7 +74,6 @@ class TutorialRunnerTest(unittest.TestCase): def setUp(self): self.pM = MockProbeMgr() - def tearDown(self): self.pM = None |