Skip to content
Snippets Groups Projects
Commit 9d6b2d4e authored by Andreas Schenk's avatar Andreas Schenk
Browse files

Added test for presence of rule based builder in test_aligntoseqres.py

parent ba19c9a0
No related branches found
No related tags found
No related merge requests found
...@@ -68,5 +68,9 @@ class TestAlignToSeqRes(unittest.TestCase): ...@@ -68,5 +68,9 @@ class TestAlignToSeqRes(unittest.TestCase):
self.assertEqual(seq.alg.ValidateSEQRESAlignment(seqres_aln, chain), False) self.assertEqual(seq.alg.ValidateSEQRESAlignment(seqres_aln, chain), False)
if __name__ == "__main__": if __name__ == "__main__":
from ost import testutils builder=conop.GetBuilder()
testutils.RunTests() if not hasattr(builder, 'compound_lib'):
print 'default builder does not use compound library. ignoring unit tests'
else:
from ost import testutils
testutils.RunTests()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment