OLD | NEW |
| (Empty) |
1 import unittest | |
2 | |
3 | |
4 def all_tests_suite(): | |
5 return unittest.TestLoader().loadTestsFromNames([ | |
6 # 'scss.tests.test_fake', | |
7 'scss.tests.test_variables', | |
8 'scss.tests.test_nesting', | |
9 'scss.tests.test_font_face', | |
10 'scss.tests.test_functions', | |
11 'scss.tests.test_options', | |
12 'scss.tests.test_extend', | |
13 'scss.tests.test_mixin', | |
14 'scss.tests.test_if', | |
15 'scss.tests.test_for', | |
16 'scss.tests.test_scss', | |
17 'scss.tests.test_files', | |
18 ]) | |
19 | |
20 | |
21 def main(): | |
22 runner = unittest.TextTestRunner() | |
23 suite = all_tests_suite() | |
24 runner.run(suite) | |
25 | |
26 | |
27 if __name__ == '__main__': | |
28 import os.path | |
29 import sys | |
30 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.a
bspath(__file__))))) | |
31 main() | |
OLD | NEW |