This is a fine way to do this, but if the order doesn't matter you might consider altering the test to turn these lists into sets and comparing the sets instead of comparing lists. This way the test isn't asserting order when order doesn't matter.
LGTM.
It's a good idea but the order does matter to me :)
rebased
Pull-Request has been merged by pingou