Hello all: My name is Emmanuel, and I am currently doing some work on a _javascript_ client for rabbitmq. Currently, as part of the rabbit automated tests, the qpid python client tests are run against the rabbit server. I noticed that: 1. after specifying the spec file to run against the server, the tests automatically include those in the python/tests folder (although you can use the ignore file to configure what tests are run) 2. the "../specs" folder is assumed (our specs folder resides in ../../docs/specs, from where we run our tests, so this causes an error) I have made local changes that: a. allows the 'specs' folder to be passed by a command option -F/--spec-folder (defaults to ../specs) b. gives the option to run the 'default' tests in the 'tests' folder, with command option -D/--default-tests; if -F above is passed, -D is assumed c. if -F and/or -D is/are not passed, then it runs only the tests specified by the passed spec file Please find these attached as a patch if these changes are useful. Thanks, Emmanuel. |
python-tests-patch
Description: Binary data
