Handle deprecation warn by importing right class.

2900k/ last 7 days
This commit is contained in:
Awais Jibran
2020-03-13 21:50:40 +05:00
parent 084b409662
commit 65094cbf35
2 changed files with 2 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ import ddt
from celery.states import FAILURE, SUCCESS
from django.utils.translation import ugettext_noop
from mock import MagicMock, Mock, patch
from opaque_keys.edx.locations import i4xEncoder
from opaque_keys.edx.keys import i4xEncoder
from six.moves import range
from course_modes.models import CourseMode