/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: Szilveszter Farkas (Phanatic)
  • Date: 2007-03-10 17:16:44 UTC
  • mfrom: (169 trunk)
  • mto: (170.1.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 172.
  • Revision ID: szilveszter.farkas@gmail.com-20070310171644-83yc6fd8ique6scx
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007 Jelmer Venrooij <jelmer@samba.org>
 
1
# Copyright (C) 2007 Jelmer Vernooij <jelmer@samba.org>
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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