/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

Show diffs side-by-side

added added

removed removed

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