Skip to content
Snippets Groups Projects
Commit 9a1507f9 authored by Michael Wimmer's avatar Michael Wimmer Committed by Christoph Groth
Browse files

add kwant.test()

parent 1690d19d
No related branches found
No related tags found
No related merge requests found
......@@ -23,3 +23,13 @@ except:
pass
else:
__all__.extend(['plotter', 'plot'])
def test(verbose=1):
from nose.core import run
import os.path
return run(argv=[__file__, os.path.dirname(os.path.abspath(__file__)),
"-s", "--verbosity="+str(verbose)])
test.__test__ = False
......@@ -324,7 +324,9 @@ def main():
"quantum transport calculations.",
license="not to be distributed",
packages=["kwant", "kwant.graph", "kwant.linalg", "kwant.physics",
"kwant.solvers"],
"kwant.solvers", "kwant.tests", "kwant.graph.tests",
"kwant.linalg.tests", "kwant.physics.tests",
"kwant.solvers.tests"],
cmdclass={'build': kwant_build,
'sdist': kwant_sdist,
'build_ext': kwant_build_ext,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment