/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to tests/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2007-03-09 17:47:28 UTC
  • Revision ID: jelmer@samba.org-20070309174728-gljlmt9b7fu0rrn9
Add simple test for tortoise_bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from unittest import TestLoader, TestSuite
18
18
from bzrlib.tests import TestUtil
19
19
 
 
20
import os
20
21
 
21
22
def test_suite():
22
23
    result = TestSuite()
24
25
    loader = TestUtil.TestLoader()
25
26
 
26
27
    testmod_names = ['test_preferences', 'test_history']
 
28
 
 
29
    if os.name == 'nt':
 
30
        testmod_names.append("test_tortoise_bzr")
 
31
 
27
32
    result.addTest(loader.loadTestsFromModuleNames(["%s.%s" % (__name__, i) for i in testmod_names]))
28
33
    return result
29
34