def METHOD_NAME(self):
    self.profile = ProfileFactory()
    self.client = APIClient()
    client_oauth2 = create_oauth2_client(self.profile.user)
    authenticate_client(self.client, client_oauth2, self.profile.user.username, "hostel77")
    caches[extensions_api_settings.DEFAULT_USE_CACHE].clear()