Skip to content
Snippets Groups Projects
Commit 0061f90c authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

feat(py-nestml): add unit tests

parent 68e3a646
No related branches found
No related tags found
No related merge requests found
......@@ -36,4 +36,11 @@ class PyNestml(PythonPackage):
depends_on('py-astropy', type=('build', 'run'))
depends_on('py-odetoolbox@2.4:', type=('build', 'run'))
depends_on('nest', type=('build', 'run'))
depends_on('cmake', type=('run', 'test'))
depends_on('py-pytest', type='test')
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
pytest = which('pytest')
pytest('tests', '-o', 'norecursedirs="*"')
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