~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_status.py

MergeĀ lp:~gz/bzr/path_from_environ_832028

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Canonical Ltd
 
1
# Copyright (C) 2006-2010 Canonical Ltd
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
169
169
        params = calls[0]
170
170
        self.assertIsInstance(params, _mod_status.StatusHookParams)
171
171
        attrs = ['old_tree', 'new_tree', 'to_file', 'versioned',
172
 
            'show_ids', 'short', 'verbose']
 
172
            'show_ids', 'short', 'verbose', 'specific_files']
173
173
        for a in attrs:
174
174
            self.assertTrue(hasattr(params, a),
175
175
                'Attribute "%s" not found in StatusHookParam' % a)
192
192
        params = calls[0]
193
193
        self.assertIsInstance(params, _mod_status.StatusHookParams)
194
194
        attrs = ['old_tree', 'new_tree', 'to_file', 'versioned',
195
 
            'show_ids', 'short', 'verbose']
 
195
            'show_ids', 'short', 'verbose', 'specific_files']
196
196
        for a in attrs:
197
197
            self.assertTrue(hasattr(params, a),
198
198
                'Attribute "%s" not found in StatusHookParam' % a)