~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_options.py

  • Committer: Aaron Bentley
  • Date: 2007-01-11 03:10:41 UTC
  • mfrom: (2229 +trunk)
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20070111031041-cu4tmhma4sqjph48
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."""