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
4611829a
Commit
4611829a
authored
Feb 11, 2016
by
Toby Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quality fixes.
parent
6a6ef0fd
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
14 deletions
+12
-14
lms/djangoapps/courseware/tests/test_about.py
+2
-2
lms/djangoapps/courseware/tests/test_course_survey.py
+1
-1
lms/djangoapps/courseware/tests/test_credit_requirements.py
+1
-1
lms/djangoapps/courseware/tests/test_field_overrides.py
+1
-3
lms/djangoapps/courseware/tests/test_grades.py
+1
-1
lms/djangoapps/courseware/tests/test_lti_integration.py
+1
-1
lms/djangoapps/courseware/tests/test_microsites.py
+1
-1
lms/djangoapps/courseware/tests/test_middleware.py
+1
-1
lms/djangoapps/courseware/tests/test_navigation.py
+1
-1
lms/djangoapps/courseware/tests/test_split_module.py
+1
-1
lms/djangoapps/courseware/tests/test_submitting_problems.py
+1
-1
No files found.
lms/djangoapps/courseware/tests/test_about.py
View file @
4611829a
...
...
@@ -436,8 +436,8 @@ class AboutPurchaseCourseTestCase(LoginEnrollmentTestCase, SharedModuleStoreTest
org
=
'MITx'
,
number
=
'closed'
,
display_name
=
'Closed Course To Buy'
,
enrollment_start
=
tomorrow
,
enrollment_end
=
nextday
enrollment_start
=
tomorrow
,
enrollment_end
=
nextday
)
def
setUp
(
self
):
...
...
lms/djangoapps/courseware/tests/test_course_survey.py
View file @
4611829a
...
...
@@ -13,7 +13,7 @@ from survey.models import SurveyForm, SurveyAnswer
from
common.test.utils
import
XssTestMixin
from
xmodule.modulestore.tests.factories
import
CourseFactory
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
from
courseware.tests.helpers
import
LoginEnrollmentTestCase
...
...
lms/djangoapps/courseware/tests/test_credit_requirements.py
View file @
4611829a
...
...
@@ -11,7 +11,7 @@ from pytz import UTC
from
django.conf
import
settings
from
django.core.urlresolvers
import
reverse
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.factories
import
CourseFactory
from
student.tests.factories
import
UserFactory
,
CourseEnrollmentFactory
from
util.date_utils
import
get_time_display
,
DEFAULT_SHORT_DATE_FORMAT
...
...
lms/djangoapps/courseware/tests/test_field_overrides.py
View file @
4611829a
...
...
@@ -7,9 +7,7 @@ from nose.plugins.attrib import attr
from
django.test.utils
import
override_settings
from
xblock.field_data
import
DictFieldData
from
xmodule.modulestore.tests.factories
import
CourseFactory
from
xmodule.modulestore.tests.django_utils
import
(
ModuleStoreTestCase
,
SharedModuleStoreTestCase
)
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
from
..field_overrides
import
(
disable_overrides
,
...
...
lms/djangoapps/courseware/tests/test_grades.py
View file @
4611829a
...
...
@@ -28,7 +28,7 @@ from capa.tests.response_xml_factory import MultipleChoiceResponseXMLFactory
from
student.tests.factories
import
UserFactory
from
student.models
import
CourseEnrollment
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
def
_grade_with_errors
(
student
,
request
,
course
,
keep_raw_scores
=
False
):
...
...
lms/djangoapps/courseware/tests/test_lti_integration.py
View file @
4611829a
...
...
@@ -13,7 +13,7 @@ from django.core.urlresolvers import reverse
from
courseware.tests
import
BaseTestXmodule
from
courseware.views
import
get_course_lti_endpoints
from
lms.djangoapps.lms_xblock.runtime
import
quote_slashes
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
from
xmodule.x_module
import
STUDENT_VIEW
...
...
lms/djangoapps/courseware/tests/test_microsites.py
View file @
4611829a
...
...
@@ -11,7 +11,7 @@ from course_modes.models import CourseMode
from
xmodule.course_module
import
(
CATALOG_VISIBILITY_CATALOG_AND_ABOUT
,
CATALOG_VISIBILITY_NONE
)
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
@attr
(
'shard_1'
)
...
...
lms/djangoapps/courseware/tests/test_middleware.py
View file @
4611829a
...
...
@@ -10,7 +10,7 @@ from nose.plugins.attrib import attr
import
courseware.courses
as
courses
from
courseware.middleware
import
RedirectUnenrolledMiddleware
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.factories
import
CourseFactory
...
...
lms/djangoapps/courseware/tests/test_navigation.py
View file @
4611829a
...
...
@@ -11,7 +11,7 @@ from django.test.utils import override_settings
from
courseware.tests.helpers
import
LoginEnrollmentTestCase
from
courseware.tests.factories
import
GlobalStaffFactory
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
from
xmodule.modulestore.django
import
modulestore
...
...
lms/djangoapps/courseware/tests/test_split_module.py
View file @
4611829a
...
...
@@ -9,7 +9,7 @@ from courseware.module_render import get_module_for_descriptor
from
courseware.model_data
import
FieldDataCache
from
student.tests.factories
import
UserFactory
,
CourseEnrollmentFactory
from
xmodule.modulestore.tests.factories
import
ItemFactory
,
CourseFactory
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
SharedModuleStoreTestCase
from
xmodule.partitions.partitions
import
Group
,
UserPartition
from
openedx.core.djangoapps.user_api.tests.factories
import
UserCourseTagFactory
...
...
lms/djangoapps/courseware/tests/test_submitting_problems.py
View file @
4611829a
...
...
@@ -24,7 +24,7 @@ from courseware.tests.helpers import LoginEnrollmentTestCase
from
lms.djangoapps.lms_xblock.runtime
import
quote_slashes
from
student.tests.factories
import
UserFactory
from
student.models
import
anonymous_id_for_user
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
SharedModuleStoreTestCase
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
from
xmodule.partitions.partitions
import
Group
,
UserPartition
from
openedx.core.djangoapps.credit.api
import
(
...
...
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