/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 breezy/tests/per_workingtree/test_get_file_mtime.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import os
20
20
 
21
21
from breezy import errors
 
22
from breezy.tree import FileTimestampUnavailable
22
23
from breezy.tests.per_workingtree import TestCaseWithWorkingTree
23
24
 
24
25
 
106
107
        os.remove('tree/one')
107
108
        tree.lock_read()
108
109
        try:
109
 
            self.assertRaises(errors.FileTimestampUnavailable,
 
110
            self.assertRaises(FileTimestampUnavailable,
110
111
                tree.get_file_mtime, file_id='one-id')
111
112
        finally:
112
113
            tree.unlock()