From b1bb50d211b76187b35e72bc73b44dec5a0ffc56 Mon Sep 17 00:00:00 2001 From: wrobell Date: Sun, 18 Jan 2009 16:46:51 +0000 Subject: [PATCH] - set connected port to synchronize connection data with data provided by connection tool git-svn-id: file:///Users/arjan/backup/gaphor/gaphor/branches/ports@2627 a8418922-720d-0410-834f-a69b97ada669 --- gaphor/tests/testcase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gaphor/tests/testcase.py b/gaphor/tests/testcase.py index a5575e9910..2a8d8db114 100644 --- a/gaphor/tests/testcase.py +++ b/gaphor/tests/testcase.py @@ -74,6 +74,7 @@ def connect(self, line, handle, item, port=None): port = item.ports()[0] handle.connected_to = item + handle.connected_port = port query = (item, line) adapter = component.queryMultiAdapter(query, IConnect) @@ -95,6 +96,7 @@ def disconnect(self, line, handle): adapter.disconnect(line.head) handle.connected_to = None + handle.connected_port = None assert handle.connected_to is None