summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/tests/python_console.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-08-11 19:58:12 +0000
committerRafael H. Schloming <rhs@apache.org>2009-08-11 19:58:12 +0000
commit7a75ab50441b0b11082b3ee27601c6f07cad8c96 (patch)
tree33e24870a0bca38efaea4638b96a62fd8d79fca7 /cpp/bindings/qmf/tests/python_console.py
parenta2d7a54a947b03b7a424cec56f24ccdde144dce9 (diff)
downloadqpid-python-7a75ab50441b0b11082b3ee27601c6f07cad8c96.tar.gz
fixed the cpp/python test integration
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/tests/python_console.py')
-rwxr-xr-xcpp/bindings/qmf/tests/python_console.py26
1 files changed, 1 insertions, 25 deletions
diff --git a/cpp/bindings/qmf/tests/python_console.py b/cpp/bindings/qmf/tests/python_console.py
index 3add79bc51..7a8a2cb9fe 100755
--- a/cpp/bindings/qmf/tests/python_console.py
+++ b/cpp/bindings/qmf/tests/python_console.py
@@ -19,28 +19,11 @@
#
import sys
-from qpid.testlib import TestBase010, testrunner
+from qpid.testlib import TestBase010
from qpid.datatypes import Message
from qpid.queue import Empty
from time import sleep
-def scan_args(name, default=None, args=sys.argv[1:]):
- if (name in args):
- pos = args.index(name)
- return args[pos + 1]
- elif default:
- return default
- else:
- print "Please specify extra argument: %s" % name
- sys.exit(2)
-
-def extract_args(name, args):
- if (name in args):
- pos = args.index(name)
- del args[pos:pos+2]
- else:
- return None
-
class QmfInteropTests(TestBase010):
def test_A_agent_presence(self):
@@ -74,10 +57,3 @@ class QmfInteropTests(TestBase010):
if headers:
return headers[name]
return None
-
-
-if __name__ == '__main__':
- args = sys.argv[1:]
- args.append("python_console")
-
- if not testrunner.run(args): sys.exit(1)