コード例 #1
0
def with_oauth():
    # Don't actually set up oauth2 credentials, because this will fail if
    # we're testing under python3. Some day when we have an oauth2 client
    # that supports python 3, we can change this.
    a = CoinbaseAccount()
    a.authenticated = True
    a.auth_params = {}
    return a