Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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