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

Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    errors,
22
22
    revision,
23
23
    )
 
24
from breezy.tree import FileTimestampUnavailable
24
25
from breezy.tests import TestCaseWithTransport
25
26
 
26
27
 
76
77
    def test_get_file_mtime_ghost(self):
77
78
        file_id = next(iter(self.rev_tree.all_file_ids()))
78
79
        self.rev_tree.root_inventory[file_id].revision = 'ghostrev'
79
 
        self.assertRaises(errors.FileTimestampUnavailable, 
 
80
        self.assertRaises(FileTimestampUnavailable, 
80
81
            self.rev_tree.get_file_mtime, file_id)