def test_app_bundles(self):
# Verify that the token is issued to the appropriate app.
with self.assertRaises(Unauthorized) as context:
validate_gamecenter_token(template, app_bundles=['dummy'])
self.assertIn("'app_bundle_id' not one of ['dummy']", context.exception.description)
评论列表
文章目录