/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/test_osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-01-02 09:21:58 UTC
  • mfrom: (3148.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080102092158-pz0zkj0mm2zbht1y
Fixed error reporting of unsupported timezone format (Lukas Lalinsky)

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
        self.assertFormatedDelta('1 second in the future', -1)
261
261
        self.assertFormatedDelta('2 seconds in the future', -2)
262
262
 
 
263
    def test_format_date(self):
 
264
        self.assertRaises(errors.UnsupportedTimezoneFormat,
 
265
            osutils.format_date, 0, timezone='foo')
 
266
 
263
267
    def test_dereference_path(self):
264
268
        self.requireFeature(SymlinkFeature)
265
269
        cwd = osutils.realpath('.')