Revision a2d3e48e
Generation d'API, tests unitaires
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@540 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigiboard/tests/__init__.py | ||
---|---|---|
69 | 69 |
# XXX This is a hack, some import gets there first. |
70 | 70 |
#environ.setdefault('VIGILO_SETTINGS_MODULE', 'settings_tests') |
71 | 71 |
# XXX hard-coded path. |
72 |
sys.argv[1:0] = ['--with-pylons', '../vigiboard/test.ini', 'vigiboard.tests' ] |
|
72 |
sys.argv[1:0] = ['--with-pylons', '../vigiboard/test.ini', |
|
73 |
'--with-coverage', '--cover-inclusive', |
|
74 |
'--cover-erase', '--cover-package', 'vigiboard', |
|
75 |
'vigiboard.tests' ] |
|
73 | 76 |
nose.main() |
74 | 77 |
|
Also available in: Unified diff