-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support running all tests with pytest, make --no-mmlibs --no-undo the…
… default (#333) * Support running all tests with pytest * Make --no-mmlibs --no-undo the default These tests seem unsupported by modern PyMOL versions (like 2.5.6), see schrodinger/pymol-testing#9 Add `--with-mmlibs` and `--with-undo` options to enable these tests. * Require PyMOL 2.6 for testLoadPLY
- Loading branch information
Showing
4 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import pymol | ||
|
||
pymol.__path__.append(".") | ||
pymol.__path__.append("tests/helpers") | ||
|
||
collect_ignore = [ | ||
"tests/helpers", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
[pytest] | ||
filterwarnings = | ||
ignore::DeprecationWarning | ||
addopts = | ||
--import-mode=importlib | ||
testpaths = tests | ||
python_files = | ||
*.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters