Beispiel #1
0
 def test_can_get_login_request(self, request):
     c = Client(**self.data)
     c.get_login_request(self.challenge)
     request.assert_called_with(
         'GET',
         'http://localhost:4445/oauth2/auth/requests/login',
         params={'login_challenge': self.challenge})
Beispiel #2
0
 def test_can_get_login_request(self, request):
     c = Client(**self.data)
     c.get_login_request(self.challenge)
     request.assert_called_with(
         'GET',
         'http://localhost:4445/oauth2/auth/requests/login/{}'
         .format(self.challenge))