From 034e36d4983da0c2d44c56d4efd9af922b2cab4e Mon Sep 17 00:00:00 2001 From: Vincent Vinet Date: Mon, 07 Dec 2009 20:50:52 +0000 Subject: pass the overlayer as a keyword argument for do, enter_editmode and subscribe, remove object store references --- (limited to 'tests/probetests.py') 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" -- cgit v0.9.1