Delete flaky test test_comment_deletion_as_student

This test has been flaky in the past; I turned up TNLARCHIVE-530 and
TNLARCHIVE-2147 in JIRA while verifying no one else had actually
gotten it.
This commit is contained in:
Matt Hughes
2019-09-26 13:59:19 -04:00
committed by Matt Hughes
parent 55357f524e
commit 6206ec80b7

View File

@@ -583,16 +583,6 @@ class DiscussionCommentDeletionTest(BaseDiscussionTestCase):
)
view.push()
def test_comment_deletion_as_student(self):
self.setup_user()
self.setup_view()
page = self.create_single_thread_page("comment_deletion_test_thread")
page.visit()
self.assertTrue(page.is_comment_deletable("comment_self_author"))
self.assertTrue(page.is_comment_visible("comment_other_author"))
self.assertFalse(page.is_comment_deletable("comment_other_author"))
page.delete_comment("comment_self_author")
def test_comment_deletion_as_moderator(self):
self.setup_user(roles=['Moderator'])
self.setup_view()