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

  • Committer: Marius Kruger
  • Date: 2010-07-10 21:28:56 UTC
  • mto: (5384.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5385.
  • Revision ID: marius.kruger@enerweb.co.za-20100710212856-uq4ji3go0u5se7hx
* Update documentation
* add NEWS

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 bzrlib specific imports here
 
23
import bzrlib.errors as errors
 
24
from bzrlib.tests import TestCase
 
25
import bzrlib.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 bzrlib.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 bzrlib.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