From 7f394cfce81463d7e741e3e656b95af1f55b9b1e Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Tue, 3 Oct 2017 11:51:28 -0400 Subject: [PATCH] remove uses of django.util.unittest django.util.unittest was deprecated in django 1.7 and removed in 1.9. PLAT-1551 --- openedx/core/djangoapps/service_status/test.py | 2 +- openedx/core/lib/api/tests/test_authentication.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/openedx/core/djangoapps/service_status/test.py b/openedx/core/djangoapps/service_status/test.py index 1f39e45b53..f006a82d68 100644 --- a/openedx/core/djangoapps/service_status/test.py +++ b/openedx/core/djangoapps/service_status/test.py @@ -4,7 +4,7 @@ import json from django.core.urlresolvers import reverse from django.test.client import Client -from django.utils import unittest +import unittest class CeleryConfigTest(unittest.TestCase): diff --git a/openedx/core/lib/api/tests/test_authentication.py b/openedx/core/lib/api/tests/test_authentication.py index 5a92cd2905..eaa432c594 100644 --- a/openedx/core/lib/api/tests/test_authentication.py +++ b/openedx/core/lib/api/tests/test_authentication.py @@ -16,7 +16,6 @@ from django.conf.urls import patterns, url, include from django.contrib.auth.models import User from django.http import HttpResponse from django.test import TestCase -from django.utils import unittest from django.utils.http import urlencode from nose.plugins.attrib import attr from oauth2_provider import models as dot_models