summaryrefslogtreecommitdiff
path: root/python/qpid/testlib.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-05-09 11:15:35 +0000
committerGordon Sim <gsim@apache.org>2008-05-09 11:15:35 +0000
commit539672f9fa39dd22bb68fc50c22608aec2bdfe22 (patch)
tree5c78311f958e5bc45d90d02cb61c3274a0de651b /python/qpid/testlib.py
parent53428ae6d4d2705a5df7eda2d43fdfbc92da3670 (diff)
downloadqpid-python-539672f9fa39dd22bb68fc50c22608aec2bdfe22.tar.gz
Enabled PLAIN authentication and setting of username and password for 0-10 python client.
Added options to all command line tools to allow a username and password to be specified. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/testlib.py')
-rw-r--r--python/qpid/testlib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/qpid/testlib.py b/python/qpid/testlib.py
index adda1a650f..b5aa59f586 100644
--- a/python/qpid/testlib.py
+++ b/python/qpid/testlib.py
@@ -353,7 +353,8 @@ class TestBase010(unittest.TestCase):
def setUp(self):
spec = testrunner.spec
- self.conn = Connection(connect(testrunner.host, testrunner.port), spec)
+ self.conn = Connection(connect(testrunner.host, testrunner.port), spec,
+ username=testrunner.user, password=testrunner.password)
self.conn.start(timeout=10)
self.session = self.conn.session("test-session", timeout=10)