dssp: convert to new stand-alone test process (#38368)
This commit is contained in:
parent
2db09f27af
commit
40d6b84b4d
@ -51,13 +51,9 @@ def cache_test_sources(self):
|
|||||||
"""Save off the pdb sources for stand-alone testing."""
|
"""Save off the pdb sources for stand-alone testing."""
|
||||||
self.cache_extra_test_sources("pdb")
|
self.cache_extra_test_sources("pdb")
|
||||||
|
|
||||||
def test(self):
|
def test_mkdssp(self):
|
||||||
"""Perform stand-alone/smoke test on installed package."""
|
"""calculate structure for example"""
|
||||||
pdb_path = join_path(self.test_suite.current_test_cache_dir, "pdb")
|
pdb_path = self.test_suite.current_test_cache_dir.pdb
|
||||||
self.run_test(
|
mkdssp = which(self.prefix.bin.mkdssp)
|
||||||
"mkdssp",
|
with working_dir(pdb_path):
|
||||||
options=["1ALK.pdb", "1alk.dssp"],
|
mkdssp("1ALK.pdb", "1alk.dssp")
|
||||||
purpose="test: calculating structure for example",
|
|
||||||
installed=True,
|
|
||||||
work_dir=pdb_path,
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user