OAuth test: checking email address too
This commit is contained in:
@@ -61,6 +61,7 @@ class OAuthTests(AbstractPillarTest):
|
|||||||
# We override the call to blender-id
|
# We override the call to blender-id
|
||||||
cb = oauth_provider.callback()
|
cb = oauth_provider.callback()
|
||||||
self.assertEqual(cb.id, '7')
|
self.assertEqual(cb.id, '7')
|
||||||
|
self.assertEqual(cb.email, 'harry@blender.org')
|
||||||
|
|
||||||
@responses.activate
|
@responses.activate
|
||||||
def test_provider_callback_missing_code(self):
|
def test_provider_callback_missing_code(self):
|
||||||
|
Reference in New Issue
Block a user