/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_tree.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
    revision,
22
22
    tree as _mod_tree,
23
23
    )
24
 
from breezy.tests import TestCaseWithTransport
25
 
from breezy.tree import InterTree
 
24
from breezy.tests import (
 
25
    TestCase,
 
26
    TestCaseWithTransport,
 
27
    )
 
28
from breezy.tree import (
 
29
    FileTimestampUnavailable,
 
30
    InterTree,
 
31
    )
 
32
 
 
33
 
 
34
class ErrorTests(TestCase):
 
35
 
 
36
    def test_file_timestamp_unavailable(self):
 
37
        e = FileTimestampUnavailable("/path/foo")
 
38
        self.assertEqual("The filestamp for /path/foo is not available.",
 
39
                         str(e))
26
40
 
27
41
 
28
42
class TestInterTree(TestCaseWithTransport):