/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

startĀ onĀ 0.5.5

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
 
28
30
from bzrlib.inventory import (
29
31
    InventoryFile,
30
32
    InventoryDirectory,
166
168
    def setUp(self):
167
169
        TestCaseInTempDir.setUp(self)
168
170
        try:
169
 
            self.cache = TdbBzrGitCache(os.path.join(self.test_dir, 'foo.tdb'))
 
171
            self.cache = TdbBzrGitCache(
 
172
                os.path.join(self.test_dir, 'foo.tdb').encode(osutils._fs_enc))
170
173
        except ImportError:
171
174
            raise UnavailableFeature("Missing tdb")
172
175
        self.map = self.cache.idmap