def METHOD_NAME(self):
    self.clear_lru_cache()
    self.login(
        {
            "user_name": "test1",
            "password": "test",
            "scopes": ["resources:get"],
        }
    )
    response = run_async(self.client.get, "/user/token_scopes")
    self.assertEqual(response.status_code, 200)
    self.assertEqual(response.json(), ["resources:get"])