Mercurial > python-hglib
annotate test.py @ 76:37307caccf54
add a script to run tests with nose plugins loaded
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sat, 15 Oct 2011 20:09:59 +0200 |
parents | |
children |
rev | line source |
---|---|
76
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
1 #!/usr/bin/env python |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
2 |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
3 import nose |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
4 from tests import with_hg |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
5 |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
6 if __name__ == '__main__': |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
7 nose.main(addplugins=[with_hg.WithHgPlugin()]) |