~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_treeshape.py

(gz) Fix test failure on alpha by correcting format string for
 gc_chk_sha1_record (Martin [gz])

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
 
21
21
from bzrlib import tests
22
 
from bzrlib.tests import (
23
 
    features,
24
 
    )
25
22
 
26
23
 
27
24
class TestTreeShape(tests.TestCaseWithTransport):
33
30
            ('.bzr/',),
34
31
            ('.bzr/README', 'hello'),
35
32
            ])
36
 
        self.assertPathExists('foo')
37
 
        self.assertPathExists('.bzr/README')
 
33
        self.failUnlessExists('foo')
 
34
        self.failUnlessExists('.bzr/README')
38
35
        self.assertFileEqual('hello', '.bzr/README')
39
36
 
40
37
    def test_build_tree_symlink(self):
41
 
        self.requireFeature(features.SymlinkFeature)
 
38
        self.requireFeature(tests.SymlinkFeature)
42
39
        self.build_tree_contents([('link@', 'target')])
43
40
        self.assertEqual('target',
44
41
            os.readlink('link'))