def test_nonascii(self): user = NonAsciiProfileFactory() result = self.client.get( reverse('member-login') + '?next=' + reverse('member-detail', args=[user.user.username]), follow=False) self.assertEqual(result.status_code, 200)
def setUp(self): self.user1 = ProfileFactory() self.userNonAscii = NonAsciiProfileFactory()