Exemplo n.º 1
0
 def _login_attempt(self, email, assertion='assertion123', next=None):
     if not next:
         next = '/'
     with mock_browserid(email):
         post_data = {'assertion': assertion,
                      'next': next}
         return self.client.post('/browserid/login/', post_data)
Exemplo n.º 2
0
 def _login_attempt(self, email, assertion='assertion123', next=None):
     if not next:
         next = '/'
     with mock_browserid(email):
         post_data = {'assertion': assertion,
                      'next': next}
         return self.client.post('/browserid/login/', post_data)
Exemplo n.º 3
0
 def _login_attempt(self, email, assertion='assertion123'):
     with mock_browserid(email):
         r = self.client.post(
             reverse('browserid_login'),
             {'assertion': assertion})
     return r
Exemplo n.º 4
0
 def _login_attempt(self, email, assertion='assertion123'):
     with mock_browserid(email):
         r = self.client.post(reverse('browserid_login'),
                              {'assertion': assertion})
     return r
Exemplo n.º 5
0
 def _login_attempt(self, email, assertion="assertion123"):
     with mock_browserid(email):
         r = self.client.post(reverse("browserid_login"), {"assertion": assertion})
     return r