~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Aaron Bentley
  • Date: 2008-01-03 22:16:35 UTC
  • mfrom: (3158 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3164.
  • Revision ID: abentley@panoramicfeedback.com-20080103221635-i0f4co2btuyjnqbf
Merge bzr.dev

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('.')