summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2016-08-22 11:17:59 -0700
committerAsk Solem <ask@celeryproject.org>2016-08-23 11:38:54 -0700
commit6d72e40e5b05d87ac82de739ce9bd854f1679888 (patch)
treeb0b71b33c24fc024fd781ae16fc84af7850a5358 /tox.ini
parentd7ffc4d75b6c78255eec41bcdc6b2d54b828f7f5 (diff)
downloadkombu-6d72e40e5b05d87ac82de739ce9bd854f1679888.tar.gz
Rewrite tests to use py.test
NOTE: test_qpid was removed as it's breaking horribly. It's currently trying to import symbols from kombu.transport.qpid that don't exist. assertRaises -> pytest.raises assertTrue assertTrue - multiline assertFalse assertFalse - multiline assertIsNone assertIsNone - multiline assertEqual assertEqual - multiline assertNotEqual assertNotEqual - multiline assertGreater - multiline assertIn assertIn - multiline assertNotIn assertNotIn - multiline assertIsInstance assertIsInstance - multiline assertIsNot assertIsNot - multiline assertIsNotNone assertIs assertIs - multiline Manual changes Now depends on case 1.3.1
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index ebb79951..a6da75c3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,8 +15,7 @@ deps=
flake8,flakeplus: -r{toxinidir}/requirements/pkgutils.txt
commands = pip install -U -r{toxinidir}/requirements/dev.txt
- nosetests -vdsx kombu.tests \
- --with-coverage --cover-inclusive --cover-erase []
+ py.test -xv --cov=kombu/ --cov-report=xml --no-cov-on-fail
basepython =
2.7,flakeplus,flake8,apicheck,linkcheck: python2.7