Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/probetests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/probetests.py')
-rw-r--r--tests/probetests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/probetests.py b/tests/probetests.py
index 481eae3..9785e81 100644
--- a/tests/probetests.py
+++ b/tests/probetests.py
@@ -234,13 +234,13 @@ class ProbeTest(unittest.TestCase):
assert message_box is None, "Message box should still be empty"
#install 1
- address = self.probe.install(pickle.dumps(action), False)
+ address, addprops = pickle.loads(self.probe.install(pickle.dumps(action), False))
assert type(address) == str, "install should return a string"
assert message_box == (5, "woot"), "message box should have (i, s)"
#install 2
action.i, action.s = (10, "ahhah!")
- address2 = self.probe.install(pickle.dumps(action), False)
+ address2, addprops = pickle.loads(self.probe.install(pickle.dumps(action), False))
assert message_box == (10, "ahhah!"), "message box should have changed"
assert address != address2, "action addresses should be different"