Commit 4d197e10 by Chris Dodge

fix some violations. Build up karma

parent d32e7a5b
...@@ -301,7 +301,6 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase): ...@@ -301,7 +301,6 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase):
# make sure the parent no longer points to the child object which was deleted # make sure the parent no longer points to the child object which was deleted
self.assertFalse(sequential.location.url() in chapter.children) self.assertFalse(sequential.location.url() in chapter.children)
def test_about_overrides(self): 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 This test case verifies that a course can use specialized override for about data, e.g. /about/Fall_2012/effort.html
......
...@@ -67,8 +67,7 @@ class CourseUpdateTest(CourseTestCase): ...@@ -67,8 +67,7 @@ class CourseUpdateTest(CourseTestCase):
# can't test non-json paylod b/c expect_json throws error # can't test non-json paylod b/c expect_json throws error
# try json w/o required fields # try json w/o required fields
self.assertContains( self.assertContains(self.client.post(url, json.dumps({'garbage': 1}),
self.client.post(url, json.dumps({'garbage': 1}),
"application/json"), "application/json"),
'Failed to save', status_code=400) 'Failed to save', status_code=400)
......
...@@ -6,6 +6,7 @@ from django.test.client import Client ...@@ -6,6 +6,7 @@ from django.test.client import Client
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
class InternationalizationTest(ModuleStoreTestCase): class InternationalizationTest(ModuleStoreTestCase):
""" """
Tests to validate Internationalization. Tests to validate Internationalization.
...@@ -66,7 +67,6 @@ class InternationalizationTest(ModuleStoreTestCase): ...@@ -66,7 +67,6 @@ class InternationalizationTest(ModuleStoreTestCase):
status_code=200, status_code=200,
html=True) html=True)
# **** # ****
# NOTE: # NOTE:
# **** # ****
...@@ -74,10 +74,9 @@ class InternationalizationTest(ModuleStoreTestCase): ...@@ -74,10 +74,9 @@ class InternationalizationTest(ModuleStoreTestCase):
# This test will break when we replace this fake 'test' language # This test will break when we replace this fake 'test' language
# with actual French. This test will need to be updated with # with actual French. This test will need to be updated with
# actual French at that time. # actual French at that time.
# Test temporarily disable since it depends on creation of dummy strings # Test temporarily disable since it depends on creation of dummy strings
@skip @skip
def test_course_with_accents (self): def test_course_with_accents(self):
"""Test viewing the index page with no courses""" """Test viewing the index page with no courses"""
self.client = Client() self.client = Client()
self.client.login(username=self.uname, password=self.password) self.client.login(username=self.uname, password=self.password)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment