Ignore:
Timestamp:
06/03/13 19:05:16 (11 months ago)
Author:
astaric
Branch:
default
rebase_source:
a4c2c9c73a478df4f31cfbe88e8c4a260f8b60ca
Message:

Enabled running tests from setup.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/testing/unit/tests/__init__.py

    r9679 r11580  
     1import os 
     2import unittest 
     3 
     4 
     5def suite(): 
     6    test_dir = os.path.dirname(__file__) 
     7    return unittest.TestLoader().discover(test_dir, ) 
     8 
     9test_suite = suite() 
     10 
     11 
     12if __name__ == '__main__': 
     13    unittest.main(defaultTest='suite') 
Note: See TracChangeset for help on using the changeset viewer.