django-oidc-provider/oidc_provider/tests/test_utils.py
2016-01-16 11:35:26 +01:00

13 lines
325 B
Python

from django.conf import settings
from django.test import TestCase
from oidc_provider.lib.utils.common import get_issuer
class CommonTest(TestCase):
"""
Test cases for common utils.
"""
def test_get_issuer(self):
issuer = get_issuer()
self.assertEqual(issuer, settings.SITE_URL + '/openid')