From 26d9866bb260593ab41b463489291043aa535fd3 Mon Sep 17 00:00:00 2001
From: Ayub khan <muhammadayubkhan6@gmail.com>
Date: Thu, 5 Sep 2019 18:43:38 +0500
Subject: [PATCH] BOM-123 Removed broken tests.

---
 .../django_comment_client/base/tests.py       | 37 -------------------
 1 file changed, 37 deletions(-)

diff --git a/lms/djangoapps/discussion/django_comment_client/base/tests.py b/lms/djangoapps/discussion/django_comment_client/base/tests.py
index a0822feb10d..cee9784369e 100644
--- a/lms/djangoapps/discussion/django_comment_client/base/tests.py
+++ b/lms/djangoapps/discussion/django_comment_client/base/tests.py
@@ -1703,43 +1703,6 @@ class TeamsPermissionsTestCase(ForumsEnableMixin, UrlResetMixin, SharedModuleSto
             )
             self.assertEqual(response.status_code, status_code)
 
-    @ddt.data(*ddt_permissions_args)
-    @ddt.unpack
-    def test_create_thread(self, user, commentable_id, status_code, __):
-        """
-        Verify that creation of threads is limited to members of the team or users with 'edit_content' permission.
-        """
-        commentable_id = getattr(self, commentable_id)
-        # mock_request is not used because Commentables don't exist in comment service.
-        self.client.login(username=getattr(self, user).username, password=self.password)
-        response = self.client.post(
-            reverse(
-                "create_thread",
-                kwargs={"course_id": six.text_type(self.course.id), "commentable_id": commentable_id}
-            ),
-            data={"body": "foo", "title": "foo", "thread_type": "discussion"}
-        )
-        self.assertEqual(response.status_code, status_code)
-
-    @ddt.data(*ddt_permissions_args)
-    @ddt.unpack
-    def test_commentable_actions(self, user, commentable_id, status_code, __):
-        """
-        Verify that following of commentables is limited to members of the team or users with
-        'edit_content' permission.
-        """
-        commentable_id = getattr(self, commentable_id)
-        # mock_request is not used because Commentables don't exist in comment service.
-        self.client.login(username=getattr(self, user).username, password=self.password)
-        for action in ["follow_commentable", "unfollow_commentable"]:
-            response = self.client.post(
-                reverse(
-                    action,
-                    kwargs={"course_id": six.text_type(self.course.id), "commentable_id": commentable_id}
-                )
-            )
-            self.assertEqual(response.status_code, status_code)
-
 
 TEAM_COMMENTABLE_ID = 'test-team-discussion'
 
-- 
GitLab