summaryrefslogtreecommitdiff
path: root/qpid/python/qmf2/tests/agent_discovery.py
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2010-01-28 21:10:07 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2010-01-28 21:10:07 +0000
commit7b81d62e6dbc82ebdd931b8141a6844e9ee0ed99 (patch)
treee6a23e07bd148b45ab0eb3ff4034e118d07c09d6 /qpid/python/qmf2/tests/agent_discovery.py
parent117227c2d909b4813d15d8b355bcd855e8c9f682 (diff)
downloadqpid-python-7b81d62e6dbc82ebdd931b8141a6844e9ee0ed99.tar.gz
QPID-2261: Rework query impl to use list-based approach
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@904268 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/qmf2/tests/agent_discovery.py')
-rw-r--r--qpid/python/qmf2/tests/agent_discovery.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/python/qmf2/tests/agent_discovery.py b/qpid/python/qmf2/tests/agent_discovery.py
index ce346d84e6..59b65221e0 100644
--- a/qpid/python/qmf2/tests/agent_discovery.py
+++ b/qpid/python/qmf2/tests/agent_discovery.py
@@ -180,9 +180,9 @@ class BaseTest(unittest.TestCase):
self.console.add_connection(self.conn)
query = qmf2.common.QmfQuery.create_predicate(
- qmf2.common.QmfQuery.TARGET_AGENT,
- qmf2.common.QmfQueryPredicate({qmf2.common.QmfQuery.CMP_EQ:
- [qmf2.common.QmfQuery.KEY_AGENT_NAME, "agent1"]}))
+ qmf2.common.QmfQuery.TARGET_AGENT,
+ [qmf2.common.QmfQuery.EQ, qmf2.common.QmfQuery.KEY_AGENT_NAME,
+ [qmf2.common.QmfQuery.QUOTE, "agent1"]])
self.console.enable_agent_discovery(query)
agent1_found = agent2_found = False