~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_options.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
    def test_get_short_name(self):
67
67
        file_opt = option.Option.OPTIONS['file']
68
 
        self.assertEquals(file_opt.short_name, 'F')
 
68
        self.assertEquals(file_opt.short_name(), 'F')
69
69
        force_opt = option.Option.OPTIONS['force']
70
 
        self.assertEquals(force_opt.short_name, None)
 
70
        self.assertEquals(force_opt.short_name(), None)
71
71
 
72
72
    def test_allow_dash(self):
73
73
        """Test that we can pass a plain '-' as an argument."""