'Verify the request for assigning an issue.'

def test_assign(self):

    with mock.patch.object(Issue, 'edit') as edit:
        edit.return_value = True
        labels = [str(label) for label in self.instance.original_labels]
        self.instance.assign(username='sigmavirus24')
        edit.assert_called_once_with(self.instance.title, self.instance.body, 'sigmavirus24', self.instance.state, self.instance.milestone.number, labels)
