/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/test_revisiontree.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:
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)