~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-10-15 11:33:33 UTC
  • mfrom: (5455.1.6 test-script)
  • Revision ID: pqm@pqm.ubuntu.com-20101015113333-auzmqh8gqjkzlgg0
(vila) Add a new hidden ``test-script`` command (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    # add the tests for this module
36
36
    suite.addTests(basic_tests)
37
37
 
 
38
    prefix = 'bzrlib.tests.blackbox.'
38
39
    testmod_names = [
39
 
                     'bzrlib.tests.blackbox.test_add',
40
 
                     'bzrlib.tests.blackbox.test_added',
41
 
                     'bzrlib.tests.blackbox.test_alias',
42
 
                     'bzrlib.tests.blackbox.test_aliases',
43
 
                     'bzrlib.tests.blackbox.test_ancestry',
44
 
                     'bzrlib.tests.blackbox.test_annotate',
45
 
                     'bzrlib.tests.blackbox.test_branch',
46
 
                     'bzrlib.tests.blackbox.test_break_lock',
47
 
                     'bzrlib.tests.blackbox.test_breakin',
48
 
                     'bzrlib.tests.blackbox.test_bound_branches',
49
 
                     'bzrlib.tests.blackbox.test_bundle_info',
50
 
                     'bzrlib.tests.blackbox.test_cat',
51
 
                     'bzrlib.tests.blackbox.test_cat_revision',
52
 
                     'bzrlib.tests.blackbox.test_check',
53
 
                     'bzrlib.tests.blackbox.test_checkout',
54
 
                     'bzrlib.tests.blackbox.test_clean_tree',
55
 
                     'bzrlib.tests.blackbox.test_command_encoding',
56
 
                     'bzrlib.tests.blackbox.test_commit',
57
 
                     'bzrlib.tests.blackbox.test_config',
58
 
                     'bzrlib.tests.blackbox.test_conflicts',
59
 
                     'bzrlib.tests.blackbox.test_debug',
60
 
                     'bzrlib.tests.blackbox.test_deleted',
61
 
                     'bzrlib.tests.blackbox.test_diff',
62
 
                     'bzrlib.tests.blackbox.test_dump_btree',
63
 
                     'bzrlib.tests.blackbox.test_dpush',
64
 
                     'bzrlib.tests.blackbox.test_exceptions',
65
 
                     'bzrlib.tests.blackbox.test_export',
66
 
                     'bzrlib.tests.blackbox.test_filesystem_cicp',
67
 
                     'bzrlib.tests.blackbox.test_filtered_view_ops',
68
 
                     'bzrlib.tests.blackbox.test_find_merge_base',
69
 
                     'bzrlib.tests.blackbox.test_help',
70
 
                     'bzrlib.tests.blackbox.test_hooks',
71
 
                     'bzrlib.tests.blackbox.test_ignore',
72
 
                     'bzrlib.tests.blackbox.test_ignored',
73
 
                     'bzrlib.tests.blackbox.test_info',
74
 
                     'bzrlib.tests.blackbox.test_init',
75
 
                     'bzrlib.tests.blackbox.test_inventory',
76
 
                     'bzrlib.tests.blackbox.test_join',
77
 
                     'bzrlib.tests.blackbox.test_locale',
78
 
                     'bzrlib.tests.blackbox.test_log',
79
 
                     'bzrlib.tests.blackbox.test_logformats',
80
 
                     'bzrlib.tests.blackbox.test_lookup_revision',
81
 
                     'bzrlib.tests.blackbox.test_ls',
82
 
                     'bzrlib.tests.blackbox.test_lsprof',
83
 
                     'bzrlib.tests.blackbox.test_merge',
84
 
                     'bzrlib.tests.blackbox.test_merge_directive',
85
 
                     'bzrlib.tests.blackbox.test_missing',
86
 
                     'bzrlib.tests.blackbox.test_modified',
87
 
                     'bzrlib.tests.blackbox.test_mv',
88
 
                     'bzrlib.tests.blackbox.test_nick',
89
 
                     'bzrlib.tests.blackbox.test_non_ascii',
90
 
                     'bzrlib.tests.blackbox.test_outside_wt',
91
 
                     'bzrlib.tests.blackbox.test_pack',
92
 
                     'bzrlib.tests.blackbox.test_pull',
93
 
                     'bzrlib.tests.blackbox.test_push',
94
 
                     'bzrlib.tests.blackbox.test_reconcile',
95
 
                     'bzrlib.tests.blackbox.test_reconfigure',
96
 
                     'bzrlib.tests.blackbox.test_reference',
97
 
                     'bzrlib.tests.blackbox.test_remerge',
98
 
                     'bzrlib.tests.blackbox.test_remove',
99
 
                     'bzrlib.tests.blackbox.test_re_sign',
100
 
                     'bzrlib.tests.blackbox.test_remove_tree',
101
 
                     'bzrlib.tests.blackbox.test_revert',
102
 
                     'bzrlib.tests.blackbox.test_revno',
103
 
                     'bzrlib.tests.blackbox.test_revision_history',
104
 
                     'bzrlib.tests.blackbox.test_revision_info',
105
 
                     'bzrlib.tests.blackbox.test_rmbranch',
106
 
                     'bzrlib.tests.blackbox.test_selftest',
107
 
                     'bzrlib.tests.blackbox.test_send',
108
 
                     'bzrlib.tests.blackbox.test_serve',
109
 
                     'bzrlib.tests.blackbox.test_shared_repository',
110
 
                     'bzrlib.tests.blackbox.test_shelve',
111
 
                     'bzrlib.tests.blackbox.test_sign_my_commits',
112
 
                     'bzrlib.tests.blackbox.test_split',
113
 
                     'bzrlib.tests.blackbox.test_status',
114
 
                     'bzrlib.tests.blackbox.test_switch',
115
 
                     'bzrlib.tests.blackbox.test_tags',
116
 
                     'bzrlib.tests.blackbox.test_testament',
117
 
                     'bzrlib.tests.blackbox.test_too_much',
118
 
                     'bzrlib.tests.blackbox.test_uncommit',
119
 
                     'bzrlib.tests.blackbox.test_unknowns',
120
 
                     'bzrlib.tests.blackbox.test_update',
121
 
                     'bzrlib.tests.blackbox.test_upgrade',
122
 
                     'bzrlib.tests.blackbox.test_version',
123
 
                     'bzrlib.tests.blackbox.test_version_info',
124
 
                     'bzrlib.tests.blackbox.test_versioning',
125
 
                     'bzrlib.tests.blackbox.test_view',
126
 
                     'bzrlib.tests.blackbox.test_whoami',
 
40
                     'test_add',
 
41
                     'test_added',
 
42
                     'test_alias',
 
43
                     'test_aliases',
 
44
                     'test_ancestry',
 
45
                     'test_annotate',
 
46
                     'test_branch',
 
47
                     'test_break_lock',
 
48
                     'test_breakin',
 
49
                     'test_bound_branches',
 
50
                     'test_bundle_info',
 
51
                     'test_cat',
 
52
                     'test_cat_revision',
 
53
                     'test_check',
 
54
                     'test_checkout',
 
55
                     'test_clean_tree',
 
56
                     'test_command_encoding',
 
57
                     'test_commit',
 
58
                     'test_config',
 
59
                     'test_conflicts',
 
60
                     'test_debug',
 
61
                     'test_deleted',
 
62
                     'test_diff',
 
63
                     'test_dump_btree',
 
64
                     'test_dpush',
 
65
                     'test_exceptions',
 
66
                     'test_export',
 
67
                     'test_filesystem_cicp',
 
68
                     'test_filtered_view_ops',
 
69
                     'test_find_merge_base',
 
70
                     'test_help',
 
71
                     'test_hooks',
 
72
                     'test_ignore',
 
73
                     'test_ignored',
 
74
                     'test_info',
 
75
                     'test_init',
 
76
                     'test_inventory',
 
77
                     'test_join',
 
78
                     'test_locale',
 
79
                     'test_log',
 
80
                     'test_logformats',
 
81
                     'test_lookup_revision',
 
82
                     'test_ls',
 
83
                     'test_lsprof',
 
84
                     'test_merge',
 
85
                     'test_merge_directive',
 
86
                     'test_missing',
 
87
                     'test_modified',
 
88
                     'test_mv',
 
89
                     'test_nick',
 
90
                     'test_non_ascii',
 
91
                     'test_outside_wt',
 
92
                     'test_pack',
 
93
                     'test_pull',
 
94
                     'test_push',
 
95
                     'test_reconcile',
 
96
                     'test_reconfigure',
 
97
                     'test_reference',
 
98
                     'test_remerge',
 
99
                     'test_remove',
 
100
                     'test_re_sign',
 
101
                     'test_remove_tree',
 
102
                     'test_revert',
 
103
                     'test_revno',
 
104
                     'test_revision_history',
 
105
                     'test_revision_info',
 
106
                     'test_rmbranch',
 
107
                     'test_script',
 
108
                     'test_selftest',
 
109
                     'test_send',
 
110
                     'test_serve',
 
111
                     'test_shared_repository',
 
112
                     'test_shelve',
 
113
                     'test_sign_my_commits',
 
114
                     'test_split',
 
115
                     'test_status',
 
116
                     'test_switch',
 
117
                     'test_tags',
 
118
                     'test_testament',
 
119
                     'test_too_much',
 
120
                     'test_uncommit',
 
121
                     'test_unknowns',
 
122
                     'test_update',
 
123
                     'test_upgrade',
 
124
                     'test_version',
 
125
                     'test_version_info',
 
126
                     'test_versioning',
 
127
                     'test_view',
 
128
                     'test_whoami',
127
129
                     ]
128
130
    # add the tests for the sub modules
129
 
    suite.addTests(loader.loadTestsFromModuleNames(testmod_names))
 
131
    suite.addTests(loader.loadTestsFromModuleNames(
 
132
            [prefix + module_name for module_name in testmod_names]))
130
133
    return suite
131
134
 
132
135