def test_put_issue_status_by_issue_creator(self):
        comment, review, review_request = self._create_diff_review_with_issue(
            publish=True)

        # Change the owner of the review request so that it's not owned by
        # self.user.
        review_request.submitter = User.objects.get(username='doc')
        review_request.save()

        # The review/comment (and therefore issue) is still owned by self.user,
        # so we should be able to change the issue status.
        rsp = self.api_put(
            get_review_diff_comment_item_url(review, comment.id),
            {'issue_status': 'dropped'},
            expected_mimetype=review_diff_comment_item_mimetype)
        self.assertEqual(rsp['stat'], 'ok')
        self.assertEqual(rsp['diff_comment']['issue_status'], 'dropped')
Function to delete FIP gateway port with given ext_net_id.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_review_comment.py/ResourceItemTests.test_put_issue_status_by_issue_creator--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/db/l3_dvr_db.py/L3_NAT_with_dvr_db_mixin.delete_floatingip_agent_gateway_port