Commit a26e1820 authored by Lauri Himanen's avatar Lauri Himanen

Modified regtests.

parent 2b827c50
......@@ -1333,6 +1333,13 @@ class TestCubeFiles(unittest.TestCase):
results = get_result("cube/single_point_default_name")
class TestMD(unittest.TestCase):
"""Tests that different methods are recognized correctly.
"""
def test_md(self):
results = get_result("../../test/examples/md")
if __name__ == '__main__':
logger = logging.getLogger("cp2kparser")
......@@ -1364,7 +1371,8 @@ if __name__ == '__main__':
# suites.append(unittest.TestLoader().loadTestsFromTestCase(TestMDEnsembles))
# suites.append(unittest.TestLoader().loadTestsFromTestCase(TestVDWMethod))
# suites.append(unittest.TestLoader().loadTestsFromTestCase(TestElectronicStructureMethod))
suites.append(unittest.TestLoader().loadTestsFromTestCase(TestCubeFiles))
# suites.append(unittest.TestLoader().loadTestsFromTestCase(TestCubeFiles))
suites.append(unittest.TestLoader().loadTestsFromTestCase(TestMD))
alltests = unittest.TestSuite(suites)
result = unittest.TextTestRunner(verbosity=0).run(alltests)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment