Commit 35884195 by muzaffaryousaf

Fixing pep8/pylint violations.

TNL-3650
parent cc88cfaf
...@@ -124,7 +124,10 @@ class CapaHtmlRenderTest(unittest.TestCase): ...@@ -124,7 +124,10 @@ class CapaHtmlRenderTest(unittest.TestCase):
rendered_html = etree.XML(problem.get_html()) rendered_html = etree.XML(problem.get_html())
# expect the javascript is still present in the rendered html # expect the javascript is still present in the rendered html
self.assertIn("<script type=\"text/javascript\">function(){}</script>", etree.tostring(rendered_html)) self.assertIn(
"<script type=\"text/javascript\">function(){}</script>",
etree.tostring(rendered_html) # pylint: disable=no-member
)
def test_render_response_xml(self): def test_render_response_xml(self):
# Generate some XML for a string response # Generate some XML for a string response
......
...@@ -132,7 +132,7 @@ class ProgressTest(unittest.TestCase): ...@@ -132,7 +132,7 @@ class ProgressTest(unittest.TestCase):
# Check != while we're at it # Check != while we're at it
self.assertNotEqual(prg1, prg2) self.assertNotEqual(prg1, prg2)
self.assertEqual(prg1, prg3) self.assertEqual(prg1, prg3)
class ModuleProgressTest(unittest.TestCase): class ModuleProgressTest(unittest.TestCase):
......
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