We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d621755 commit 2855743Copy full SHA for 2855743
tests/testprofiles/tests.py
@@ -19,22 +19,10 @@
19
from django.contrib.auth import get_user_model
20
from django.contrib.auth.models import User as DjangoUserModel
21
from django.test import TestCase, override_settings
22
-
23
from djangosaml2.backends import Saml2Backend
24
25
User = get_user_model()
26
27
-if sys.version_info < (3, 4):
28
- # Monkey-patch TestCase to add the assertLogs method introduced in
29
- # Python 3.4
30
- from unittest2.case import _AssertLogsContext
31
32
- class LoggerTestCase(TestCase):
33
- def assertLogs(self, logger=None, level=None):
34
- return _AssertLogsContext(self, logger, level)
35
36
- TestCase = LoggerTestCase
37
38
39
class Saml2BackendTests(TestCase):
40
def test_update_user(self):
0 commit comments