def test_put_with_issue(self):
        comment, review, review_request = self._create_diff_review_with_issue()

        rsp = self.api_put(
            get_review_diff_comment_item_url(review, comment.id),
            {'issue_opened': False},
            expected_mimetype=review_diff_comment_item_mimetype)
        self.assertEqual(rsp['stat'], 'ok')
        self.assertFalse(rsp['diff_comment']['issue_opened'])
Testing the
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_review_comment.py/ResourceItemTests.test_put_with_issue