

def test_update(self):
    'Test the request for updating a milestone.'
    data = {
        'title': 'foo',
        'state': 'closed',
        'description': ':sparkles:',
        'due_on': '2013-12-31T23:59:59Z',
    }
    self.instance.update(**data)
    self.patch_called_with(url_for(), data=data)

dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_issues_milestone.py TestMilestone.test_update/original