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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 12:41:27 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521124127-iv8etg0vwymyai6y
s/bzr/brz/ in apport config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
# import system imports here
21
21
 
22
 
# import breezy specific imports here
23
 
from .. import errors as errors
24
 
from . import TestCase
25
 
from .. import identitymap as identitymap
 
22
#import brzlib specific imports here
 
23
import brzlib.errors as errors
 
24
from brzlib.tests import TestCase
 
25
import brzlib.identitymap as identitymap
26
26
 
27
27
 
28
28
class TestIdentityMap(TestCase):
29
29
 
30
30
    def test_symbols(self):
31
 
        from ..identitymap import IdentityMap
 
31
        from brzlib.identitymap import IdentityMap
32
32
 
33
33
    def test_construct(self):
34
34
        identitymap.IdentityMap()
57
57
class TestNullIdentityMap(TestCase):
58
58
 
59
59
    def test_symbols(self):
60
 
        from ..identitymap import NullIdentityMap
 
60
        from brzlib.identitymap import NullIdentityMap
61
61
 
62
62
    def test_construct(self):
63
63
        identitymap.NullIdentityMap()
78
78
    def test_null_identity_map_has_no_remove(self):
79
79
        map = identitymap.NullIdentityMap()
80
80
        self.assertEqual(None, getattr(map, 'remove_object', None))
 
81