OAuth test: checking email address too

This commit is contained in:
Sybren A. Stüvel 2017-08-25 12:53:21 +02:00
parent c7c867f1c7
commit a6f56a4811

View File

@ -61,6 +61,7 @@ class OAuthTests(AbstractPillarTest):
# We override the call to blender-id
cb = oauth_provider.callback()
self.assertEqual(cb.id, '7')
self.assertEqual(cb.email, 'harry@blender.org')
@responses.activate
def test_provider_callback_missing_code(self):