/breezy/stretch-backports

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

« back to all changes in this revision

Viewing changes to breezy/tests/test_tree.py

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