Fix incorrect placement of sorted()

This commit is contained in:
Ezio Melotti 2010-08-02 04:25:50 +00:00
parent 38a5800cdc
commit 4d6f56dbd4
1 changed files with 2 additions and 2 deletions

View File

@ -166,9 +166,9 @@ class CgiTests(unittest.TestCase):
self.assertEqual(sorted(sd.getlist(key)), sorted(expect_val))
if single_value:
self.assertEqual(sorted(sd.values()),
sorted(first_elts(expect.values())))
first_elts(sorted(expect.values())))
self.assertEqual(sorted(sd.items()),
sorted(first_second_elts(expect.items())))
first_second_elts(sorted(expect.items())))
def test_weird_formcontentdict(self):
# Test the weird FormContentDict classes