mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Merge pull request #1683 from alex/only-run-local-tests
Tell py.test to only run the tests from the local tests dir.
This commit is contained in:
commit
9543e4e2db
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -135,7 +135,8 @@ class PyTest(test):
|
|||
def run_tests(self):
|
||||
# Import here because in module scope the eggs are not loaded.
|
||||
import pytest
|
||||
errno = pytest.main(self.test_args)
|
||||
test_args = [os.path.join(base_dir, "tests")]
|
||||
errno = pytest.main(test_args)
|
||||
sys.exit(errno)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue