Red Hat Bugzilla – Bug 446897
python-qpid-tests fail to find amqp spec xml file
Last modified: 2014-12-01 18:14:25 EST
Description of problem:
When you run python-qpid-tests from the command line you get an error because
the script is looking in the wrong place for the amqp spec xml file.
Incidentally it appears to be looking for the wrong file as well.
It should be using the qpid_config.py file like the other python qpid tools.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run "python-qpid-tests"
[astitche@qpid-test3 qpid-testing]$ python-qpid-tests
Traceback (most recent call last):
File "/usr/bin/python-qpid-tests", line 32, in ?
if not testrunner.run(): sys.exit(1)
File "/usr/lib/python2.4/site-packages/qpid/testlib.py", line 176, in run
File "/usr/lib/python2.4/site-packages/qpid/testlib.py", line 148, in _parseargs
self.spec = qpid.spec.load(self.specfile, *self.errata)
File "/usr/lib/python2.4/site-packages/qpid/spec.py", line 50, in load
raise IOError("No such file or directory: '%s'" % name)
IOError: No such file or directory: '../specs/amqp.0-8.xml'
It's supposed to run the tests!
This testrunner has been replaced.