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
c4c68f51
Commit
c4c68f51
authored
Jun 24, 2013
by
Jean Manuel Nater
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some unnecessary imports.
parent
799b938d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
lms/djangoapps/courseware/tests/test_navigation.py
+0
-2
lms/djangoapps/courseware/tests/test_view_authentication.py
+0
-15
No files found.
lms/djangoapps/courseware/tests/test_navigation.py
View file @
c4c68f51
...
...
@@ -5,8 +5,6 @@ from xmodule.modulestore.tests.factories import CourseFactory, ItemFactory
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
import
xmodule.modulestore.django
from
helpers
import
LoginEnrollmentTestCase
,
check_for_get_code
from
modulestore_config
import
TEST_DATA_MONGO_MODULESTORE
...
...
lms/djangoapps/courseware/tests/test_view_authentication.py
View file @
c4c68f51
...
...
@@ -224,21 +224,6 @@ class TestViewAuth(ModuleStoreTestCase, LoginEnrollmentTestCase):
print
'checking for 200 on {0}'
.
format
(
url
)
check_for_get_code
(
self
,
200
,
url
)
def
run_wrapped
(
self
,
test
):
"""
test.py turns off start dates. Enable them.
Because settings is global, be careful not to mess it up for other tests
(Can't use override_settings because we're only changing part of the
MITX_FEATURES dict)
"""
oldDSD
=
settings
.
MITX_FEATURES
[
'DISABLE_START_DATES'
]
try
:
settings
.
MITX_FEATURES
[
'DISABLE_START_DATES'
]
=
False
test
()
finally
:
settings
.
MITX_FEATURES
[
'DISABLE_START_DATES'
]
=
oldDSD
def
test_dark_launch
(
self
):
"""
Make sure that before course start, students can't access course
...
...
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