Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Weston
kwant
Commits
9a1507f9
Commit
9a1507f9
authored
12 years ago
by
Michael Wimmer
Committed by
Christoph Groth
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add kwant.test()
parent
1690d19d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
kwant/__init__.py
+10
-0
10 additions, 0 deletions
kwant/__init__.py
setup.py
+3
-1
3 additions, 1 deletion
setup.py
with
13 additions
and
1 deletion
kwant/__init__.py
+
10
−
0
View file @
9a1507f9
...
...
@@ -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
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
1
View file @
9a1507f9
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment