# Path: pandas_gbq/auth.py
# CREDENTIALS_CACHE_DIRNAME = "pandas_gbq"
# CREDENTIALS_CACHE_FILENAME = "bigquery_credentials.dat"
# SCOPES = ["https://www.googleapis.com/auth/bigquery"]
# CLIENT_ID = "725825577420-unm2gnkiprugilg743tkbig250f4sfsj.apps.googleusercontent.com"
# CLIENT_SECRET = "4hqze9yI8fxShls8eJWkeMdJ"
# def get_credentials(
#     private_key=None, project_id=None, reauth=False, auth_local_webserver=False
# ):
# def get_credentials_cache(reauth):


import os
import pytest
    import google.auth
    import google.auth
    import google.auth
from unittest import mock
from pandas_gbq import auth
    from google.auth.credentials import Credentials
# Copyright (c) 2017 pandas-gbq Authors All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

"""System tests for fetching Google BigQuery credentials."""





IS_RUNNING_ON_CI = "CIRCLE_BUILD_NUM" in os.environ or "KOKORO_BUILD_ID" in os.environ


def mock_default_credentials(scopes=None, request=None):
    return (None, None)


def test_should_be_able_to_get_valid_credentials(project_id):

# Path: pandas_gbq/auth.py
# CREDENTIALS_CACHE_DIRNAME = "pandas_gbq"
# CREDENTIALS_CACHE_FILENAME = "bigquery_credentials.dat"
# SCOPES = ["https://www.googleapis.com/auth/bigquery"]
# CLIENT_ID = "725825577420-unm2gnkiprugilg743tkbig250f4sfsj.apps.googleusercontent.com"
# CLIENT_SECRET = "4hqze9yI8fxShls8eJWkeMdJ"
# def get_credentials(
#     private_key=None, project_id=None, reauth=False, auth_local_webserver=False
# ):
# def get_credentials_cache(reauth):


# Path: tests/system/test_auth.py
import os
import pytest
    import google.auth
    import google.auth
    import google.auth
from unittest import mock
from pandas_gbq import auth
    from google.auth.credentials import Credentials

# Copyright (c) 2017 pandas-gbq Authors All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

"""System tests for fetching Google BigQuery credentials."""





IS_RUNNING_ON_CI = "CIRCLE_BUILD_NUM" in os.environ or "KOKORO_BUILD_ID" in os.environ


def mock_default_credentials(scopes=None, request=None):
    return (None, None)


def test_should_be_able_to_get_valid_credentials(project_id):

    credentials, _ = auth.get_credentials(project_id=project_id)