/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: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

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