From 7dd8f5d7ed305f08e3539c0b634021242a9b946d Mon Sep 17 00:00:00 2001 From: Ghislain Antony Vaillant Date: Wed, 18 Oct 2017 21:37:49 +0100 Subject: [PATCH] Fix missing super call to Django test case See https://stackoverflow.com/questions/29653129/update-to-django-1-8-attributeerror-django-test-testcase-has-no-attribute-cl --- jsonrpc/tests/test_backend_django/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jsonrpc/tests/test_backend_django/tests.py b/jsonrpc/tests/test_backend_django/tests.py index 664bfaa..c5e9eb2 100644 --- a/jsonrpc/tests/test_backend_django/tests.py +++ b/jsonrpc/tests/test_backend_django/tests.py @@ -18,6 +18,7 @@ class TestDjangoBackend(TestCase): def setUpClass(cls): os.environ['DJANGO_SETTINGS_MODULE'] = \ 'jsonrpc.tests.test_backend_django.settings' + super(TestDjangoBackend, cls).setUpClass() def test_urls(self): self.assertTrue(isinstance(api.urls, list))