Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/probetests.py
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-11-27 00:11:21 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-11-27 00:11:21 (GMT)
commit6686a0f73d0eaa86221f40a7074e8f5b3aac7d63 (patch)
tree13496f73827b697cbf56a1693d8b77775175c323 /tests/probetests.py
parentb290d0384ea13319026ddcaeca5d567a2556f0e3 (diff)
LP 448319 : Code review changes for Probe and ProbeMan
Diffstat (limited to 'tests/probetests.py')
-rw-r--r--tests/probetests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/probetests.py b/tests/probetests.py
index 8dbac29..37748d8 100644
--- a/tests/probetests.py
+++ b/tests/probetests.py
@@ -470,6 +470,7 @@ class ProbeProxyTest(unittest.TestCase):
event_address = 'event1'
event2 = MockAddon()
event2.i, event2.s = 10, "event2"
+ event_address2 = 'event2'
def callback(event):
global message_box
@@ -499,7 +500,7 @@ class ProbeProxyTest(unittest.TestCase):
#ErrorCase: unsubcribe for non subscribed event
#Test the unsubscribe
- self.probeProxy.unsubscribe("otheraddress")
+ self.probeProxy.unsubscribe(event_address2)
assert not "unsubscribe" in self.mockObj.MockCall, "Unsubscribe should not be called if event is not subscribeed"
self.probeProxy.unsubscribe(event_address)