Merge pull request #20521 from amitvadhel/INCR-139

INCR-139
This commit is contained in:
Stu Young
2019-05-10 09:44:26 -04:00
committed by GitHub
9 changed files with 14 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
"""Mock data for SAMLIdentityProvider"""
from __future__ import absolute_import
from social_core.backends.saml import OID_MAIL, OID_GIVEN_NAME, OID_SURNAME, OID_COMMON_NAME, OID_USERID
expected_user_details = {

View File

@@ -1,6 +1,7 @@
"""
Base integration test for provider implementations.
"""
from __future__ import absolute_import
import json
import unittest

View File

@@ -1,4 +1,5 @@
"""Integration tests for Azure Active Directory / Microsoft Account provider."""
from __future__ import absolute_import
from third_party_auth.tests.specs import base

View File

@@ -1,6 +1,8 @@
"""
Use the 'Dummy' auth provider for generic integration tests of third_party_auth.
"""
from __future__ import absolute_import
import unittest
from third_party_auth.tests import testutil

View File

@@ -1,4 +1,6 @@
"""Integration tests for Google providers."""
from __future__ import absolute_import
import base64
import hashlib
import hmac

View File

@@ -1,4 +1,5 @@
"""Integration tests for LinkedIn providers."""
from __future__ import absolute_import
from third_party_auth.tests.specs import base

View File

@@ -1,6 +1,8 @@
"""
Integration tests for third_party_auth LTI auth providers
"""
from __future__ import absolute_import
import unittest
from django.conf import settings
from django.contrib.auth.models import User

View File

@@ -1,6 +1,8 @@
"""
Third_party_auth integration tests using a mock version of the TestShib provider
"""
from __future__ import absolute_import
import datetime
import json
import logging

View File

@@ -1,6 +1,7 @@
"""
Separate integration test for Twitter which is an OAuth1 provider.
"""
from __future__ import absolute_import
from mock import patch
from third_party_auth.tests.specs import base