'Verify the locale list renders all locales.'

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')))
