/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 16:22:27 UTC
  • Revision ID: vernooij@lenovo-c29b82cd-20070309162227-wiodikw2iu0758l6
Fix PyGTK URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007 Jelmer Vernooij <jelmer@samba.org>
 
1
# Copyright (C) 2007 Jelmer Venrooij <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
21
20
 
22
21
def test_suite():
23
22
    result = TestSuite()
24
23
 
25
24
    loader = TestUtil.TestLoader()
26
25
 
27
 
    testmod_names = [
28
 
        'test_commit',
29
 
        'test_diff',
30
 
        'test_preferences',
31
 
        'test_history',
32
 
        ]
33
 
 
34
 
    if os.name == 'nt':
35
 
        testmod_names.append("test_tortoise_bzr")
36
 
 
 
26
    testmod_names = ['test_preferences', 'test_history']
37
27
    result.addTest(loader.loadTestsFromModuleNames(["%s.%s" % (__name__, i) for i in testmod_names]))
38
28
    return result
39
29