summaryrefslogtreecommitdiff
path: root/qpid/python/tests/codec.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2007-08-20 17:31:57 +0000
committerRafael H. Schloming <rhs@apache.org>2007-08-20 17:31:57 +0000
commitc5920c37a2b68d47decbdd11f9c46e3a283aa7b5 (patch)
tree22b52473bce1c9b4d78e174e5bfacce52671edda /qpid/python/tests/codec.py
parentd41a082088af4f145a5e5d9e9c3696a4f9553f3d (diff)
downloadqpid-python-c5920c37a2b68d47decbdd11f9c46e3a283aa7b5.tar.gz
Permit skipping of self tests and specify a folder for the spec file. Patch is mostly as supplied by eokyere@gmail.com with minor modifications.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@567764 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests/codec.py')
-rw-r--r--qpid/python/tests/codec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/python/tests/codec.py b/qpid/python/tests/codec.py
index 689a2cf4c1..f9f7aab918 100644
--- a/qpid/python/tests/codec.py
+++ b/qpid/python/tests/codec.py
@@ -23,6 +23,7 @@ from qpid.codec import Codec
from qpid.spec import load
from cStringIO import StringIO
from qpid.reference import ReferenceId
+from qpid.testlib import testrunner
__doc__ = """
@@ -53,7 +54,7 @@ __doc__ = """
"""
-SPEC = load("../specs/amqp.0-10-preview.xml")
+SPEC = load(testrunner.get_spec_file("amqp.0-10-preview.xml"))
# --------------------------------------
# --------------------------------------