diff options
| author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-01-27 16:36:37 +0000 |
|---|---|---|
| committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-01-27 16:36:37 +0000 |
| commit | cd739d3ecad88ad28f6891e9e1b119b763b53120 (patch) | |
| tree | 2d0e930f75949d0ea8020663b4c4a41649d0d7df /qpid/python/qmf2/tests/agent_discovery.py | |
| parent | 3e3a93720e107cee63920b13c7b686e0fdef5f1d (diff) | |
| download | qpid-python-cd739d3ecad88ad28f6891e9e1b119b763b53120.tar.gz | |
QPID-2261: make code compliant with Python PEP-8 style
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/qmf2/tests/agent_discovery.py')
| -rw-r--r-- | qpid/python/qmf2/tests/agent_discovery.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qpid/python/qmf2/tests/agent_discovery.py b/qpid/python/qmf2/tests/agent_discovery.py index 277018f297..ce346d84e6 100644 --- a/qpid/python/qmf2/tests/agent_discovery.py +++ b/qpid/python/qmf2/tests/agent_discovery.py @@ -134,7 +134,7 @@ class BaseTest(unittest.TestCase): self.broker.user, self.broker.password) self.conn.connect() - self.console.addConnection(self.conn) + self.console.add_connection(self.conn) self.console.enable_agent_discovery() agent1_found = agent2_found = False @@ -177,7 +177,7 @@ class BaseTest(unittest.TestCase): self.broker.user, self.broker.password) self.conn.connect() - self.console.addConnection(self.conn) + self.console.add_connection(self.conn) query = qmf2.common.QmfQuery.create_predicate( qmf2.common.QmfQuery.TARGET_AGENT, @@ -223,7 +223,7 @@ class BaseTest(unittest.TestCase): self.broker.user, self.broker.password) self.conn.connect() - self.console.addConnection(self.conn) + self.console.add_connection(self.conn) self.console.enable_agent_discovery() agent1_found = agent2_found = False @@ -316,7 +316,7 @@ class BaseTest(unittest.TestCase): self.broker.user, self.broker.password) self.conn.connect() - self.console.addConnection(self.conn) + self.console.add_connection(self.conn) agent1 = self.console.find_agent("agent1", timeout=3) self.assertTrue(agent1 and agent1.get_name() == "agent1") @@ -327,7 +327,7 @@ class BaseTest(unittest.TestCase): agent2 = self.console.find_agent("agent2", timeout=3) self.assertTrue(agent2 and agent2.get_name() == "agent2") - self.console.removeConnection(self.conn, 10) + self.console.remove_connection(self.conn, 10) self.console.destroy(10) @@ -349,7 +349,7 @@ class BaseTest(unittest.TestCase): self.broker.user, self.broker.password) conn.connect() - console.addConnection(conn) + console.add_connection(conn) console.enable_agent_discovery() self.consoles.append(console) @@ -453,7 +453,7 @@ class BaseTest(unittest.TestCase): self.broker.user, self.broker.password) conn.connect() - console.addConnection(conn) + console.add_connection(conn) self.consoles.append(console) agent1 = self.consoles[0].find_agent("agent1", timeout=3) |
