'Verify the request for closing an issue.'

def test_close(self):

    self.instance.close()
    labels = [str(label) for label in self.instance.original_labels]
    self.patch_called_with(url_for(), data={'assignee': (self.instance.assignee.login or ''), 'body': self.instance.body, 'labels': labels, 'milestone': (self.instance.milestone.number or ''), 'state': 'closed', 'title': self.instance.title})
