def test_update(self):
        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
        )
Test the request for updating a milestone.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_issues_milestone.py/TestMilestone.test_update