fix default test runner from setuptools (#345)
This commit is contained in:
@@ -32,7 +32,6 @@ import os
|
||||
import re
|
||||
from setuptools import Command, find_packages, setup
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
|
||||
class PyCleanBuild(Command):
|
||||
@@ -85,8 +84,7 @@ class PyTest(Command):
|
||||
|
||||
def run(self):
|
||||
import subprocess
|
||||
errno = subprocess.call([sys.executable,
|
||||
'pygeoapi/tests/run_tests.py'])
|
||||
errno = subprocess.call(['pytest', 'tests/test_api.py'])
|
||||
raise SystemExit(errno)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user