Bug 446897 - python-qpid-tests fail to find amqp spec xml file
Summary: python-qpid-tests fail to find amqp spec xml file
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: python-qpid
Version: beta
Hardware: All
OS: Linux
low
low
Target Milestone: Next Version
: ---
Assignee: Rafael H. Schloming
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-16 15:50 UTC by Andrew Stitcher
Modified: 2014-12-01 23:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-28 14:49:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.