@@ -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 = {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Base integration test for provider implementations.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import json
|
||||
import unittest
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
"""Integration tests for Google providers."""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import base64
|
||||
import hashlib
|
||||
import hmac
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Integration tests for LinkedIn providers."""
|
||||
from __future__ import absolute_import
|
||||
|
||||
from third_party_auth.tests.specs import base
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user