Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
nomad-lab
parser-cp2k
Commits
a26e1820
Commit
a26e1820
authored
Apr 21, 2018
by
Lauri Himanen
Browse files
Modified regtests.
parent
2b827c50
Changes
1
Show whitespace changes
Inline
Side-by-side
regtests/regtests.py
View file @
a26e1820
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment