blob: f4e0a7a3791e176af84a9c85e6861009dddfdd19 [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class FakeOAuth(object):
"""A Fake for oauth.OAuth to be used in unit-tests."""
def is_request_authorized(self):
"""Checks if the access token in an incoming request is correct."""
return True