From c0a7bf94f4abcf1846bd47e90370f0415b4dd76d Mon Sep 17 00:00:00 2001 From: stv Date: Sun, 15 Feb 2015 19:47:54 -0800 Subject: [PATCH] Fix Pylint: W1503(redundant-unittest-assert) --- common/lib/capa/capa/tests/test_html_render.py | 2 -- common/lib/capa/capa/tests/test_responsetypes.py | 1 - 2 files changed, 3 deletions(-) diff --git a/common/lib/capa/capa/tests/test_html_render.py b/common/lib/capa/capa/tests/test_html_render.py index f1b5249338..ca39f3b5ff 100644 --- a/common/lib/capa/capa/tests/test_html_render.py +++ b/common/lib/capa/capa/tests/test_html_render.py @@ -27,8 +27,6 @@ class CapaHtmlRenderTest(unittest.TestCase): # Render the HTML etree.XML(problem.get_html()) - # expect that we made it here without blowing up - self.assertTrue(True) def test_include_html(self): # Create a test file to include diff --git a/common/lib/capa/capa/tests/test_responsetypes.py b/common/lib/capa/capa/tests/test_responsetypes.py index 0b801e7b5c..a99456069f 100644 --- a/common/lib/capa/capa/tests/test_responsetypes.py +++ b/common/lib/capa/capa/tests/test_responsetypes.py @@ -2195,7 +2195,6 @@ class ChoiceTextResponseTest(ResponseTest): Test that `build_problem` builds valid xml """ self.build_problem() - self.assertTrue(True) def test_unchecked_input_not_validated(self): """