def METHOD_NAME(self):
    self.hook.edit("web", {"url": "http://foobar.com/hook"})
    self.assertEqual(self.hook.config, {"url": "http://foobar.com/hook"})
    self.assertEqual(
        self.hook.updated_at,
        datetime(2012, 5, 19, 5, 8, 16, tzinfo=timezone.utc),
    )