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
4d197e10
Commit
4d197e10
authored
May 13, 2013
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some violations. Build up karma
parent
d32e7a5b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
cms/djangoapps/contentstore/tests/test_contentstore.py
+0
-1
cms/djangoapps/contentstore/tests/test_course_updates.py
+1
-2
cms/djangoapps/contentstore/tests/test_i18n.py
+2
-3
No files found.
cms/djangoapps/contentstore/tests/test_contentstore.py
View file @
4d197e10
...
...
@@ -301,7 +301,6 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase):
# make sure the parent no longer points to the child object which was deleted
self
.
assertFalse
(
sequential
.
location
.
url
()
in
chapter
.
children
)
def
test_about_overrides
(
self
):
'''
This test case verifies that a course can use specialized override for about data, e.g. /about/Fall_2012/effort.html
...
...
cms/djangoapps/contentstore/tests/test_course_updates.py
View file @
4d197e10
...
...
@@ -67,8 +67,7 @@ class CourseUpdateTest(CourseTestCase):
# can't test non-json paylod b/c expect_json throws error
# try json w/o required fields
self
.
assertContains
(
self
.
client
.
post
(
url
,
json
.
dumps
({
'garbage'
:
1
}),
self
.
assertContains
(
self
.
client
.
post
(
url
,
json
.
dumps
({
'garbage'
:
1
}),
"application/json"
),
'Failed to save'
,
status_code
=
400
)
...
...
cms/djangoapps/contentstore/tests/test_i18n.py
View file @
4d197e10
...
...
@@ -6,6 +6,7 @@ from django.test.client import Client
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
class
InternationalizationTest
(
ModuleStoreTestCase
):
"""
Tests to validate Internationalization.
...
...
@@ -66,7 +67,6 @@ class InternationalizationTest(ModuleStoreTestCase):
status_code
=
200
,
html
=
True
)
# ****
# NOTE:
# ****
...
...
@@ -74,10 +74,9 @@ class InternationalizationTest(ModuleStoreTestCase):
# This test will break when we replace this fake 'test' language
# with actual French. This test will need to be updated with
# actual French at that time.
# Test temporarily disable since it depends on creation of dummy strings
@skip
def
test_course_with_accents
(
self
):
def
test_course_with_accents
(
self
):
"""Test viewing the index page with no courses"""
self
.
client
=
Client
()
self
.
client
.
login
(
username
=
self
.
uname
,
password
=
self
.
password
)
...
...
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