diff options
author | Ted Ross <tross@apache.org> | 2009-08-28 22:03:26 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2009-08-28 22:03:26 +0000 |
commit | 72cf689b75c8ccd68ba34351e3aba9cafad9c891 (patch) | |
tree | b6ed34dfb19c95c408c99d3d74ffc5e204529ebf /qpid/cpp/bindings/qmf/tests/python_console.py | |
parent | d0139eba311c380b06ba433e31576899441591e0 (diff) | |
download | qpid-python-72cf689b75c8ccd68ba34351e3aba9cafad9c891.tar.gz |
Major work in the QMF engine.
- The console framework now establishes connectivity with the broker.
- The Ruby binding for console is tracking the engine development.
- Overall improvements (thread safety in Ruby, etc.) have been added.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@809042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf/tests/python_console.py')
-rwxr-xr-x | qpid/cpp/bindings/qmf/tests/python_console.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qmf/tests/python_console.py b/qpid/cpp/bindings/qmf/tests/python_console.py index 365f2ac33a..bcd3063fe3 100755 --- a/qpid/cpp/bindings/qmf/tests/python_console.py +++ b/qpid/cpp/bindings/qmf/tests/python_console.py @@ -128,6 +128,18 @@ class QmfInteropTests(TestBase010): self.assertEqual(parent.int16val, -1000) self.assertEqual(parent.int8val, -100) + def test_D_userid_for_method(self): + self.startQmf(); + qmf = self.qmf + + parents = qmf.getObjects(_class="parent") + self.assertEqual(len(parents), 1) + parent = parents[0] + + result = parent.probe_userid() + self.assertEqual(result.status, 0) + self.assertEqual(result.userid, "guest") + def getProperty(self, msg, name): for h in msg.headers: if hasattr(h, name): return getattr(h, name) |