Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
c4c68f51
Commit
c4c68f51
authored
11 years ago
by
Jean Manuel Nater
Browse files
Options
Downloads
Patches
Plain Diff
Removed some unnecessary imports.
parent
799b938d
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/djangoapps/courseware/tests/test_navigation.py
+0
-2
0 additions, 2 deletions
lms/djangoapps/courseware/tests/test_navigation.py
lms/djangoapps/courseware/tests/test_view_authentication.py
+0
-15
0 additions, 15 deletions
lms/djangoapps/courseware/tests/test_view_authentication.py
with
0 additions
and
17 deletions
lms/djangoapps/courseware/tests/test_navigation.py
+
0
−
2
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
...
...
This diff is collapsed.
Click to expand it.
lms/djangoapps/courseware/tests/test_view_authentication.py
+
0
−
15
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment