Project

General

Profile

Revision a2d3e48e

IDa2d3e48ec50e04ff06918cd1853b6b1a855eaf6f
Parent 693e96f1
Child f70865a8

Added by Aurelien BOMPARD about 15 years ago

Generation d'API, tests unitaires

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@540 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

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