From b7dda32a369be21a2c7fddef873785933cc4b114 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Tue, 1 May 2018 13:44:55 -0400 Subject: [PATCH] remove tests also --- lms/djangoapps/discussion/tests/test_views.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lms/djangoapps/discussion/tests/test_views.py b/lms/djangoapps/discussion/tests/test_views.py index 34cd79391f..10ea7b7bf0 100644 --- a/lms/djangoapps/discussion/tests/test_views.py +++ b/lms/djangoapps/discussion/tests/test_views.py @@ -1140,16 +1140,6 @@ class InlineDiscussionTestCase(ForumsEnableMixin, ModuleStoreTestCase): request, text_type(self.course.id), self.discussion1.discussion_id ) - def verify_response(self, response): - """Verifies that the response contains the appropriate courseware_url and courseware_title""" - self.assertEqual(response.status_code, 200) - response_data = json.loads(response.content) - expected_courseware_title = 'Chapter / Discussion1' - self.assertEqual(response_data["discussion_data"][0]["courseware_title"], expected_courseware_title) - - def test_courseware_data(self, mock_request): - self.verify_response(self.send_request(mock_request)) - def test_context(self, mock_request): team = CourseTeamFactory( name='Team Name', @@ -1162,7 +1152,6 @@ class InlineDiscussionTestCase(ForumsEnableMixin, ModuleStoreTestCase): response = self.send_request(mock_request) self.assertEqual(mock_request.call_args[1]['params']['context'], ThreadContext.STANDALONE) - self.verify_response(response) @patch('requests.request', autospec=True)