Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-11-22 04:24:14 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-11-22 04:24:14 (GMT)
commit00c4fe9e5f2373fcefe6fb3f46e641a3c416423e (patch)
tree7e9dadd6322fe3fde25de423ab71aefde1a55c19 /tests
parent79349369000d53741a8874929044af4b6b48f2f4 (diff)
LP 448319 : Moving action installation to asynchronous version with confirmation
Diffstat (limited to 'tests')
-rw-r--r--tests/enginetests.py8
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