Exemple #1
0
 def __init__(self):
     unittest.TestSuite.__init__(self, [
         doctest.DocTestSuite(config),
         doctest.DocTestSuite(ini),
         test_ini.suite(),
         test_misc.suite(),
         test_fuzz.suite(),
         test_compat.suite(),
         test_unicode.suite(),
     ])
Exemple #2
0
 def __init__(self):
     unittest.TestSuite.__init__(self, [
             doctest.DocTestSuite(config),
             doctest.DocTestSuite(ini),
             test_ini.suite(),
             test_misc.suite(),
             test_fuzz.suite(),
             test_compat.suite(),
             test_unicode.suite(),
     ])
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import test_vimbuffer
import test_edit_structure
import test_misc
import test_navigator
import test_show_hide

# import test_tags_properties
# import test_todo
# import test_date

import unittest

if __name__ == "__main__":
    tests = unittest.TestSuite()
    tests.addTests(test_vimbuffer.suite())
    tests.addTests(test_edit_structure.suite())
    tests.addTests(test_misc.suite())
    tests.addTests(test_navigator.suite())
    tests.addTests(test_show_hide.suite())
    # tests.addTests(test_tags_properties.suite())
    # tests.addTests(test_date.suite())
    # tests.addTests(test_todo.suite())
    runner = unittest.TextTestRunner()
    runner.run(tests)
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import test_vimbuffer
import test_edit_structure
import test_misc
import test_navigator
import test_show_hide
import test_tags_properties
import test_todo
import test_date

import unittest

if __name__ == '__main__':
    tests = unittest.TestSuite()
    tests.addTests(test_vimbuffer.suite())
    tests.addTests(test_edit_structure.suite())
    tests.addTests(test_misc.suite())
    tests.addTests(test_navigator.suite())
    tests.addTests(test_show_hide.suite())
    tests.addTests(test_tags_properties.suite())
    tests.addTests(test_todo.suite())
    tests.addTests(test_date.suite())

    runner = unittest.TextTestRunner()
    runner.run(tests)