OAuth test: checking email address too
This commit is contained in:
parent
c7c867f1c7
commit
a6f56a4811
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user