/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 tests/test_cache.py

More work on roundtrip push support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import os
26
26
import stat
27
27
 
28
 
from bzrlib import osutils
29
 
 
30
28
from bzrlib.inventory import (
31
29
    InventoryFile,
32
30
    InventoryDirectory,
168
166
    def setUp(self):
169
167
        TestCaseInTempDir.setUp(self)
170
168
        try:
171
 
            self.cache = TdbBzrGitCache(
172
 
                os.path.join(self.test_dir, 'foo.tdb').encode(osutils._fs_enc))
 
169
            self.cache = TdbBzrGitCache(os.path.join(self.test_dir, 'foo.tdb'))
173
170
        except ImportError:
174
171
            raise UnavailableFeature("Missing tdb")
175
172
        self.map = self.cache.idmap