Browse Source

Minor testing stuff

Ask Solem 8 years ago
parent
commit
27c674b123
2 changed files with 3 additions and 2 deletions
  1. 1 0
      MANIFEST.in
  2. 2 2
      Makefile

+ 1 - 0
MANIFEST.in

@@ -7,6 +7,7 @@ include TODO
 include setup.cfg
 include setup.py
 
+recursive-include t *.py
 recursive-include docs *
 recursive-include extra/bash-completion *
 recursive-include extra/centos *

+ 2 - 2
Makefile

@@ -1,9 +1,9 @@
 PROJ=celery
 PGPIDENT="Celery Security Team"
 PYTHON=python
+PYTEST=py.test
 GIT=git
 TOX=tox
-NOSETESTS=nosetests
 ICONV=iconv
 FLAKE8=flake8
 FLAKEPLUS=flakeplus
@@ -140,7 +140,7 @@ test:
 	$(PYTHON) setup.py test
 
 cov:
-	py.test -x --cov="$(PROJ)" --cov-report=html
+	$(PYTEST) -x --cov="$(PROJ)" --cov-report=html
 
 build:
 	$(PYTHON) setup.py sdist bdist_wheel