Mercurial > python-hglib
annotate test.py @ 78:031cbb8d4f65
examples: add simple stat-gathering example
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 09 Nov 2011 14:07:29 -0600 |
parents | 37307caccf54 |
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()]) |