diff --git a/core/tests/test_setcompoundschemlib.py b/core/tests/test_setcompoundschemlib.py index 1efe735b1ab4c27e8a0d2962907c60707ebae4ed..9e9ec48201a406eb140ccd5f5d6bc64b5a81d1a6 100644 --- a/core/tests/test_setcompoundschemlib.py +++ b/core/tests/test_setcompoundschemlib.py @@ -49,9 +49,10 @@ class SetCompoundsChemlibTests(unittest.TestCase): self.assertEqual(cmpd.formula, fake_gly[1]) def testCompoundsLibLoadedOnImport(self): - # Check that importing promod3 loads the compounds library. First we - # test that we do not have a lib before importing, afterwards we import - # and check for Glycine. This test reads the systems/ installed lib + # Check that importing promod3 loads the compounds library. If we + # compiled OpenStructure with a valid compound library, it should + # already be loaded (as of OST 2.5.0) but if we import promod3, it + # should be there for sure. This test reads the systems/ installed lib # which means an external data dependency. Lets assume this is OK: if # we do not have a chemical components dictionary, we do not know amino # acids, so ProMod3 would not work... We also check for essential @@ -61,10 +62,6 @@ class SetCompoundsChemlibTests(unittest.TestCase): # week, is that things may change and then our compounds list here will # have to be updated, too. - # before importing, we do not want to see a lib - clib = conop.GetDefaultLib() - self.assertIsNone(clib) - # now there should be one import promod3# pylint: disable=unused-variable clib = conop.GetDefaultLib()