Bug 446897

Summary: python-qpid-tests fail to find amqp spec xml file
Product: Red Hat Enterprise MRG Reporter: Andrew Stitcher <astitcher>
Component: python-qpidAssignee: Rafael H. Schloming <rafaels>
Status: CLOSED WONTFIX QA Contact: Kim van der Riet <kim.vdriet>
Severity: low Docs Contact:
Priority: low    
Version: betaCC: tross
Target Milestone: Next Version   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-28 14:49:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Stitcher 2008-05-16 15:50:34 UTC
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):

python-qpid-0.2.656025

How reproducible:

Completely

Steps to Reproduce:
1. run "python-qpid-tests"
2.
3.
  
Actual results:

[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
    self._parseargs(args)
  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'

Expected results:

It's supposed to run the tests!

Additional info:

Comment 1 Rafael H. Schloming 2009-10-28 14:49:49 UTC
This testrunner has been replaced.