Get all tests passing
This PR gets all tests for Scout passing!
Notes
- One change here switches some
assertEqual()
calls toassertCountEqual()
.assertCountEqual
is a misleading name, because not only does it assert that the two counts are equal, but it also asserts that each item is equal. For the purposes of this PR, that means thatassertCountEqual(["Vietnamese", "Indian"], ["Indian", "Vietnamese"]) == True)
, but importantly,assertEqual(["Vietnamese", "Indian"], ["Indian", "Vietnamese"]) == False)
. We don't care about the ordering of the lists necessarily, just that the correct items (and count) is returned. - The second test was failing on
302 != 301
, which just meant that the DjangoRedirectView
needed thepermanent=True
param.
Please review, and rejoice in having FULL TESTS PASSING for at least one of these apps: @NUWAN.KUMARASIRI @TREFILEK @bjsousa