diff options
author | isen <isen@isen-desktop.(none)> | 2009-10-18 08:38:05 (GMT) |
---|---|---|
committer | isen <isen@isen-desktop.(none)> | 2009-10-18 08:38:05 (GMT) |
commit | 04bef3e0d6f0db689b31c05799f9a6c55e3220d9 (patch) | |
tree | d90d83a46a0ad38328ec16bfc2befab41839ab64 /tests | |
parent | 1d062b1e7397b9413f4f73efb451bb8d890ab296 (diff) |
Commit before holidays lp426452
Diffstat (limited to 'tests')
-rw-r--r-- | tests/actiontests.py | 4 | ||||
-rw-r--r-- | tests/serializertests.py | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/actiontests.py b/tests/actiontests.py index 265ffa1..50116be 100644 --- a/tests/actiontests.py +++ b/tests/actiontests.py @@ -65,7 +65,7 @@ class DialogMessageTest(unittest.TestCase): class BubbleMessageTest(unittest.TestCase): def setUp(self): - self.bubble = addon.create('BubbleMessage', message="Message text", pos=[200, 300], tailpos=[-15, -25], tailpos2=[-15, -25]) + self.bubble = addon.create('BubbleMessage', message="Message text", pos=[200, 300]) def test_properties(self): props = self.bubble.get_properties() @@ -76,8 +76,6 @@ class BubbleMessageTest(unittest.TestCase): assert "tail_pos" in props, 'No tail position property in BubbleMessage' - assert "tail_pos2" in props, 'No tail position property in BubbleMessage' - class CountAction(Action): """ diff --git a/tests/serializertests.py b/tests/serializertests.py index 320feaf..6c25bae 100644 --- a/tests/serializertests.py +++ b/tests/serializertests.py @@ -76,7 +76,7 @@ class XMLSerializerTest(unittest.TestCase): # Add a few states act1 = addon.create('BubbleMessage', message="Hi", pos=[300, 450]) ev1 = addon.create('GtkWidgetEventFilter', "0.12.31.2.2", "clicked", "Second") - act2 = addon.create('BubbleMessage', message="Second message", pos=[250, 150], tailpos=[1,2], tailpos2=[1,2]) + act2 = addon.create('BubbleMessage', message="Second message", pos=[250, 150], tailpos=[1,2]) st1 = State("INIT") st1.add_action(act1) @@ -143,7 +143,7 @@ class XMLSerializerTest(unittest.TestCase): """ st = State("INIT") - act1 = addon.create('BubbleMessage', "Hi!", pos=[10,120], tailpos=[-12,30], tailpos2=[-12,30]) + act1 = addon.create('BubbleMessage', "Hi!", pos=[10,120], tailpos=[-12,30]) act2 = addon.create('DialogMessage', "Hello again.", pos=[120,10]) act3 = WidgetIdentifyAction() act4 = DisableWidgetAction("0.0.0.1.0.0.0") |