/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 bzrlib/tests/blackbox/test_log.py

  • Committer: Lukáš Lalinský
  • Date: 2007-12-27 08:25:04 UTC
  • mto: (3148.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3150.
  • Revision ID: lalinsky@gmail.com-20071227082504-xt6wuvwdpuody4f5
Fixed error reporting of unsupported timezone format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        self.run_bzr_error('bzr: ERROR: Logging revision 0 is invalid.',
81
81
                           ['log', '-r-2..0'])
82
82
 
 
83
    def test_log_unsupported_timezone(self):
 
84
        self._prepare()
 
85
        self.run_bzr_error('bzr: ERROR: Unsupported timezone format "foo", '
 
86
                           'options are "utc", "original", "local".',
 
87
                           ['log', '--timezone', 'foo'])
 
88
 
83
89
    def test_log_negative_begin_revspec_full_log(self):
84
90
        self._prepare()
85
91
        log = self.run_bzr("log -r -3..")[0]