summaryrefslogtreecommitdiff
path: root/python/tests/codec.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/codec.py')
-rw-r--r--python/tests/codec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tests/codec.py b/python/tests/codec.py
index 689a2cf4c1..f9f7aab918 100644
--- a/python/tests/codec.py
+++ b/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"))
# --------------------------------------
# --------------------------------------