Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
947e8142
Commit
947e8142
authored
Jun 29, 2017
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated django.utils.importlib.
parent
b673ceee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
common/djangoapps/student/tests/test_create_account.py
+1
-1
openedx/core/djangoapps/safe_sessions/testing.py
+1
-1
No files found.
common/djangoapps/student/tests/test_create_account.py
View file @
947e8142
...
...
@@ -3,6 +3,7 @@
import
json
import
unittest
from
datetime
import
datetime
from
importlib
import
import_module
import
ddt
import
mock
...
...
@@ -13,7 +14,6 @@ from django.core.urlresolvers import reverse
from
django.test
import
TestCase
,
TransactionTestCase
from
django.test.client
import
RequestFactory
from
django.test.utils
import
override_settings
from
django.utils.importlib
import
import_module
from
mock
import
patch
import
student
...
...
openedx/core/djangoapps/safe_sessions/testing.py
View file @
947e8142
...
...
@@ -59,7 +59,7 @@ def safe_cookie_test_session_patch():
"""
from
django.apps
import
apps
from
django.conf
import
settings
from
django.utils.
importlib
import
import_module
from
importlib
import
import_module
from
.middleware
import
SafeCookieData
,
SafeCookieError
,
SafeSessionMiddleware
if
apps
.
is_installed
(
'django.contrib.sessions'
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment