1# Copyright 2015 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5class FakeOAuth(object): 6 """A Fake for oauth.OAuth to be used in unit-tests.""" 7 8 9 def is_request_authorized(self): 10 """Checks if the access token in an incoming request is correct.""" 11 return True 12