From a6f56a4811066cdf50c1cda935225f717894cf8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 25 Aug 2017 12:53:21 +0200 Subject: [PATCH] OAuth test: checking email address too --- tests/test_api/test_oauth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_api/test_oauth.py b/tests/test_api/test_oauth.py index f5f68e75..152a8d46 100644 --- a/tests/test_api/test_oauth.py +++ b/tests/test_api/test_oauth.py @@ -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):