source: orange/Orange/testing/unit/tests/__init__.py @ 11580:3c0351009340

Revision 11580:3c0351009340, 226 bytes checked in by astaric, 11 months ago (diff)

Enabled running tests from setup.py.

Line 
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 TracBrowser for help on using the repository browser.