def test_00_bearer(self):
        client = DjangoTestClient()
        token = self.get_token()
        response = client.get(
            "/api/email_str",
            {},
            HTTP_AUTHORIZATION="Bearer %s" % token)
        self.assertEqual(response.status_code, 200)
        response = client.get(
            "/api/email_str",
            {},
            HTTP_AUTHORIZATION=token % "Bearer2 %s")
        self.assertEqual(response.status_code, 401)
        response = client.get(
            "/api/email_str",
            {},
            HTTP_AUTHORIZATION="Bearer !!!%s" % token)
        self.assertEqual(response.status_code, 401)
dataset/ETHPy150Open hiidef/oauth2app/tests/testsite/apps/api/tests/bearer.py/BearerTestCase.test_00_bearer/swapped operands of `%`