'Test the request for updating a label.'

def test_update(self):

    data = {'name': 'newname', 'color': 'afafaf'}
    self.instance.update(**data)
    self.patch_called_with(label_url_for(), data=data)
