def test_locale_list(self):
        LocaleFactory(locale='en-US')
        LocaleFactory(locale='es')
        LocaleFactory(locale='de')

        r = self.client.get(reverse('wiki.locales'))
        eq_(r.status_code, 200)
        doc = pq(r.content)
        eq_(Locale.objects.count(), len(doc('#locale-listing li')))
Create a randomized list of 280 messages for the case, based on its risk profile.
dataset/ETHPy150Open mozilla/kitsune/kitsune/wiki/tests/test_locale_views.py/LocaleListTests.test_locale_list--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/custom/fri/api.py/randomize_messages