'Test the request for updating a key.'

def test_update(self):

    data = {'title': 'New    Title', 'key': 'Fake    key'}
    self.instance.update(**data)
    self.patch_called_with(key_url_for('1'), data=data)
