/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_object_store.py

Fix dpush to remote locations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    TestCaseWithTransport,
35
35
    )
36
36
 
37
 
from bzrlib.plugins.git.cache import (
38
 
    DictGitShaMap,
39
 
    )
40
37
from bzrlib.plugins.git.object_store import (
41
38
    BazaarObjectStore,
42
39
    LRUTreeCache,
43
40
    _check_expected_sha,
44
41
    _find_missing_bzr_revids,
45
 
    _tree_to_objects,
46
42
    )
47
43
 
48
44
 
176
172
        bb.finish_series()
177
173
        self.assertTrue(b.id in self.store)
178
174
 
179
 
 
180
 
class TreeToObjectsTests(TestCaseWithTransport):
181
 
 
182
 
    def setUp(self):
183
 
        super(TreeToObjectsTests, self).setUp()
184
 
        self.idmap = DictGitShaMap()
185
 
 
186
 
    def test_no_changes(self):
187
 
        tree = self.make_branch_and_tree('.')
188
 
        entries = list(_tree_to_objects(tree, [tree], self.idmap, {}))
189
 
        self.assertEquals([], entries)