Permalink
Browse files

Removes nose-cover3 dependency

  • Loading branch information...
ask committed Feb 9, 2014
1 parent 271871a commit 52b4ed9264b301e5c528bfa95f728d3f34eb943d
Showing with 6 additions and 8 deletions.
  1. +2 −2 CONTRIBUTING.rst
  2. +1 −1 celery/tests/__init__.py
  3. +2 −2 docs/contributing.rst
  4. +1 −1 pavement.py
  5. +0 −1 requirements/test.txt
  6. +0 −1 requirements/test3.txt
View
@@ -509,15 +509,15 @@ Calculating test coverage
Code coverage in HTML:
::
- $ nosetests --with-coverage3 --cover3-html
+ $ nosetests --with-coverage --cover-html
The coverage output will then be located at
``celery/tests/cover/index.html``.
Code coverage in XML (Cobertura-style):
::
- $ nosetests --with-coverage3 --cover3-xml --cover3-xml-file=coverage.xml
+ $ nosetests --with-coverage --cover-xml --cover-xml-file=coverage.xml
The coverage XML output will then be located at ``coverage.xml``
View
@@ -22,7 +22,7 @@ def setup():
KOMBU_DISABLE_LIMIT_PROTECTION='yes',
)
- if os.environ.get('COVER_ALL_MODULES') or '--with-coverage3' in sys.argv:
+ if os.environ.get('COVER_ALL_MODULES') or '--with-coverage' in sys.argv:
from warnings import catch_warnings
with catch_warnings(record=True):
import_all_modules()
View
@@ -518,7 +518,7 @@ Code coverage in HTML:
.. code-block:: bash
- $ nosetests --with-coverage3 --cover3-html
+ $ nosetests --with-coverage --cover-html
The coverage output will then be located at
:file:`celery/tests/cover/index.html`.
@@ -527,7 +527,7 @@ Code coverage in XML (Cobertura-style):
.. code-block:: bash
- $ nosetests --with-coverage3 --cover3-xml --cover3-xml-file=coverage.xml
+ $ nosetests --with-coverage --cover-xml --cover-xml-file=coverage.xml
The coverage XML output will then be located at :file:`coverage.xml`
View
@@ -122,7 +122,7 @@ def bump(options):
def test(options):
cmd = 'CELERY_LOADER=default nosetests'
if getattr(options, 'coverage', False):
- cmd += ' --with-coverage3'
+ cmd += ' --with-coverage'
if getattr(options, 'verbose', False):
cmd += ' --verbosity=2'
sh(cmd)
View
@@ -1,4 +1,3 @@
unittest2>=0.5.1
nose
-nose-cover3
mock>=1.0.1
View
@@ -1,4 +1,3 @@
nose
-nose-cover3
# FIXME required by kombu.tests.case
mock >=1.0.1

0 comments on commit 52b4ed9

Please sign in to comment.