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

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    tests,
27
27
    )
28
28
 
29
 
from ..sixish import viewitems
30
29
 
31
30
 
32
31
class TestRegistry(tests.TestCase):
218
217
        self.assertEqual({'two': 'one', 'three': 'one'}, a_registry.aliases())
219
218
        self.assertEqual(
220
219
            {'one': ['three', 'two']},
221
 
            {k: sorted(v) for (k, v) in viewitems(a_registry.alias_map())})
 
220
            {k: sorted(v) for (k, v) in a_registry.alias_map().items()})
222
221
 
223
222
    def test_registry_alias_exists(self):
224
223
        a_registry = registry.Registry()