From 2250ec787ae5fb84fbebfee35bd9925ebd1dd679 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 11 Mar 2008 21:56:49 +0000 Subject: Enabled tx methods on final 0-10 path and converted tests accordingly Added read/write- uuid to codec010 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@636121 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/testlib.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python/qpid/testlib.py') diff --git a/python/qpid/testlib.py b/python/qpid/testlib.py index 7e5a2a6b66..f633c4e77d 100644 --- a/python/qpid/testlib.py +++ b/python/qpid/testlib.py @@ -352,6 +352,12 @@ class TestBase010(unittest.TestCase): self.conn.start(timeout=10) self.session = self.conn.session("test-session", timeout=10) + def connect(self): + spec = testrunner.spec + conn = Connection(connect(testrunner.host, testrunner.port), spec) + conn.start(timeout=10) + return conn + def tearDown(self): if not self.session.error(): self.session.close(timeout=10) self.conn.close(timeout=10) -- cgit v1.2.1