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

Special-case NULL_REVISION when looking for Git shas.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Tests for bzr-git's object store."""
18
18
 
19
19
 
20
 
from dulwich.tests.test_object_store import ObjectStoreTests
 
20
from dulwich.tests.test_object_store import PackBasedObjectStoreTests
 
21
from dulwich.tests.test_repository import RefsContainerTests
21
22
 
22
23
from bzrlib.tests import TestCaseWithTransport
23
24
 
24
 
from bzrlib.plugins.git.transportgit import TransportObjectStore
25
 
 
26
 
 
27
 
class TransportObjectStoreTests(ObjectStoreTests, TestCaseWithTransport):
 
25
from bzrlib.plugins.git.transportgit import TransportObjectStore, TransportRefsContainer
 
26
 
 
27
 
 
28
class TransportObjectStoreTests(PackBasedObjectStoreTests, TestCaseWithTransport):
28
29
 
29
30
    def setUp(self):
30
31
        TestCaseWithTransport.setUp(self)
31
32
        self.store = TransportObjectStore.init(self.get_transport())
32
33
 
 
34
# FIXME: Unfortunately RefsContainerTests requires on a specific set of refs existing.
 
35
 
 
36
# class TransportRefContainerTests(RefsContainerTests, TestCaseWithTransport):
 
37
#
 
38
#    def setUp(self):
 
39
#        TestCaseWithTransport.setUp(self)
 
40
#        self._refs = TransportRefsContainer(self.get_transport())
 
41