diff --git a/setup.py b/setup.py index 30c71fd..93f1de7 100644 --- a/setup.py +++ b/setup.py @@ -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)