commit | 9543e4e2dbe09ef9af20fe38ce80daf4eb8d2664 | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Fri Feb 20 11:50:28 2015 -0600 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Fri Feb 20 11:50:28 2015 -0600 |
tree | 2c965d42fd14130a6ef4c83ce02a30251311da33 | |
parent | 8be38b39270d4545bb303eb08fa5e84940de04a2 [diff] | |
parent | 8a58e6997b8b4abfed11a8a23b539e261fde1a28 [diff] |
Merge pull request #1683 from alex/only-run-local-tests Tell py.test to only run the tests from the local tests dir.
diff --git a/setup.py b/setup.py index 32a87ba..2324d54 100644 --- a/setup.py +++ b/setup.py
@@ -135,7 +135,8 @@ 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)