From: Arun Babu Neelicattu abn@redhat.com
--- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tox.ini
diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..3025714 --- /dev/null +++ b/tox.ini @@ -0,0 +1,9 @@ +[tox] +envlist = py27,py33 + +[testenv] +deps= + -rrequirements.txt + -rtest-requirements.txt +commands= + python setup.py test []
From: Arun Babu Neelicattu abn@redhat.com
--- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py index 6abd9b0..9f45fe9 100755 --- a/setup.py +++ b/setup.py @@ -49,7 +49,8 @@ class TestCommand(Command): usecov = False
if usecov: - cov = coverage.coverage(omit=["/*/tests/*", "/usr/*", "*dev-env*"]) + cov = coverage.coverage(omit=[ + "/*/tests/*", "/usr/*", "*dev-env*", "*.tox/*"]) cov.erase() cov.start()
From: Arun Babu Neelicattu abn@redhat.com
--- HACKING | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/HACKING b/HACKING index 3569b22..dda9933 100644 --- a/HACKING +++ b/HACKING @@ -32,6 +32,13 @@ login there:
python setup.py test --rw-functional
+# Testing across python versions +To test all supported python versions, run tox using any of the following. + + tox + tox -- --ro-functional + tox -- --rw-functional + Note: Before running rw-functional tests, make sure you have logged using: python bugzilla-cli \ --bugzilla=partner-bugzilla.redhat.com \
On 12/17/2013 10:56 AM, abn@redhat.com wrote:
From: Arun Babu Neelicattu abn@redhat.com
HACKING | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/HACKING b/HACKING index 3569b22..dda9933 100644 --- a/HACKING +++ b/HACKING @@ -32,6 +32,13 @@ login there:
python setup.py test --rw-functional
+# Testing across python versions +To test all supported python versions, run tox using any of the following.
- tox
- tox -- --ro-functional
- tox -- --rw-functional
Note: Before running rw-functional tests, make sure you have logged using: python bugzilla-cli \ --bugzilla=partner-bugzilla.redhat.com \
Thanks, pushed all 3, sorry for the delay.
- Cole
python-bugzilla@lists.stg.fedorahosted.org