'Verify that create_comment is limited to members of the team or users with \'edit_content\' permission.'

@ddt.data(*ddt_permissions_args)
@ddt.unpack
def test_create_comment(self, user, commentable_id, status_code, mock_request):

    commentable_id = getattr(self, commentable_id)
    self._setup_mock(user, mock_request, {'closed': False, 'commentable_id': commentable_id})
    response = self.client.post(reverse('create_comment', kwargs={'course_id': unicode(self.course.id), 'thread_id': 'dummy'}), data={'body': 'foo', 'title': 'foo'})
    self.assertEqual(response.status_code, status_code)
