~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

(mbp) Stop depending on the particular CPython ordering of dictionary keys
 when testing the result of BzrDir.get_branches. (Wouter van Heyst)

Show diffs side-by-side

added added

removed removed

Lines of Context:
565
565
        a_bzrdir = RemoteBzrDir(transport, RemoteBzrDirFormat(),
566
566
            _client=client)
567
567
        result = a_bzrdir.get_branches()
568
 
        self.assertEquals(["", "foo"], result.keys())
 
568
        self.assertEquals(set(["", "foo"]), set(result.keys()))
569
569
        self.assertEqual(
570
570
            [('call_expecting_body', 'BzrDir.get_branches', ('quack/',)),
571
571
             ('call', 'BzrDir.find_repositoryV3', ('quack/', )),