mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
b304d8f508
commit
facb1a668c
2
setup.py
2
setup.py
@ -56,7 +56,7 @@ class PyTest(Command):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
import sys,subprocess
|
import sys,subprocess
|
||||||
basecmd = [sys.executable, '-m', 'py.test']
|
basecmd = [sys.executable, '-m', 'pytest']
|
||||||
if self.cov:
|
if self.cov:
|
||||||
basecmd += ['--cov', 'gunicorn']
|
basecmd += ['--cov', 'gunicorn']
|
||||||
errno = subprocess.call(basecmd + ['tests'])
|
errno = subprocess.call(basecmd + ['tests'])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user