Esempio n. 1
0
 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)
Esempio n. 2
0
 def setUp(self):
     self.user1 = ProfileFactory()
     self.userNonAscii = NonAsciiProfileFactory()