summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/complex_app
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2012-08-14 15:24:43 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2012-08-14 15:24:43 +0300
commit8fe03865f7d7059e051976d1f9336f2ff83a30c6 (patch)
treeea959a79c343321f997405ca7903ed5e9d728cbe /tests/regressiontests/admin_scripts/complex_app
parent9299dc42ed4986d2a1eb7c7f7fe7c276b9f6b6d6 (diff)
[py3] Fixed invalid use of dict.items()
An ordering test had two problems related to dict.items() usage: - It assumed the order of the dict was non-randomized - It indexed to the dict.items() which is py3 incompatible. I fixed the test by using dict['rank'] directly, where rank is the column tested on the values queryset.
Diffstat (limited to 'tests/regressiontests/admin_scripts/complex_app')
0 files changed, 0 insertions, 0 deletions