Changeset ddfe69c in sasmodels


Ignore:
Timestamp:
Mar 9, 2015 3:21:59 PM (10 years ago)
Author:
Doucet, Mathieu <doucetm@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
48f0194, 1b50776
Parents:
3e428ec
Message:

Make sure we can report on unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/model_test.py

    r3c56da87 rddfe69c  
    4545 
    4646import sys 
     47import xmlrunner 
    4748import unittest 
    4849 
     
    221222        return 1 
    222223 
    223     #run_tests(loaders, models) 
    224     runner = unittest.TextTestRunner() 
     224    #runner = unittest.TextTestRunner() 
     225    runner = xmlrunner.XMLTestRunner(output='logs') 
    225226    result = runner.run(make_suite(loaders, models)) 
    226227    return 1 if result.failures or result.errors else 0 
Note: See TracChangeset for help on using the changeset viewer.