summaryrefslogtreecommitdiff
path: root/python/qpid/testlib.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-07-24 14:08:32 +0000
committerGordon Sim <gsim@apache.org>2007-07-24 14:08:32 +0000
commit9f120205e0d7a0b2666b9fd21a5296db07e32fd8 (patch)
treeb263ca1fa1863eca341d370dc5dd29ef97bc91bd /python/qpid/testlib.py
parent6aa2316d7712a709e9782919afd2a14cfaafc7a9 (diff)
downloadqpid-python-9f120205e0d7a0b2666b9fd21a5296db07e32fd8.tar.gz
Some initial 0-10 support including placeholders for new domains, use of execution layer for synchronising methods with no explicit responses and a new set of tests (mainly just copies of the 0-9 ones, but these will be altered as 0-10 support progresses).
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/testlib.py')
-rw-r--r--python/qpid/testlib.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/qpid/testlib.py b/python/qpid/testlib.py
index 4467a1f4cd..2c22c04199 100644
--- a/python/qpid/testlib.py
+++ b/python/qpid/testlib.py
@@ -125,6 +125,8 @@ Options:
self.tests=findmodules("tests")
if self.use08spec():
self.tests+=findmodules("tests_0-8")
+ elif self.spec.major == 0 and self.spec.minor == 10:
+ self.tests+=findmodules("tests_0-10")
else:
self.tests+=findmodules("tests_0-9")
@@ -214,10 +216,10 @@ class TestBase(unittest.TestCase):
def exchange_declare(self, channel=None, ticket=0, exchange='',
type='', passive=False, durable=False,
- auto_delete=False, internal=False, nowait=False,
+ auto_delete=False,
arguments={}):
channel = channel or self.channel
- reply = channel.exchange_declare(ticket, exchange, type, passive, durable, auto_delete, internal, nowait, arguments)
+ reply = channel.exchange_declare(ticket=ticket, exchange=exchange, type=type, passive=passive,durable=durable, auto_delete=auto_delete, arguments=arguments)
self.exchanges.append((channel,exchange))
return reply