/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/per_workingtree/test_get_file_mtime.py

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