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

  • Committer: Jelmer Vernooij
  • Date: 2018-06-30 14:28:33 UTC
  • mfrom: (7005 work)
  • mto: This revision was merged to the branch mainline in revision 7008.
  • Revision ID: jelmer@jelmer.uk-20180630142833-eg208wfe8la76m0x
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
    def setUp(self):
167
167
        TestCaseInTempDir.setUp(self)
168
168
        try:
169
 
            self.cache = TdbBzrGitCache(
170
 
                os.path.join(self.test_dir, 'foo.tdb').encode(osutils._fs_enc))
 
169
            self.cache = TdbBzrGitCache(os.path.join(self.test_dir, 'foo.tdb'))
171
170
        except ImportError:
172
171
            raise UnavailableFeature("Missing tdb")
173
172
        self.map = self.cache.idmap