'Initialising a SortedDict with two keys will just take the first one.
A real dict will actually take the second value so we will too, but
we\'ll keep the ordering from the first key found.'

def test_init_keys(self):

    tuples = ((2, 'two'), (1, 'one'), (2, 'second-two'))
    d = SortedDict(tuples)
    self.assertEquals(d.keys(), [2, 1])
    real_dict = dict(tuples)
    self.assertEquals(sorted(real_dict.values()), ['one', 'second-two'])
    self.assertEquals(d.values(), ['second-two', 'one'])
