# 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 json
import pytest
    import google.auth
    import google.auth.credentials
    import google.cloud.bigquery
    import pydata_google_auth
    import google.auth
    import google.auth.credentials
    import pydata_google_auth
    import pydata_google_auth.cache
    import pydata_google_auth.cache
from unittest import mock
from pandas_gbq import auth
# 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.

# -*- coding: utf-8 -*-





def test_get_credentials_private_key_raises_notimplementederror(monkeypatch):
    private_key = json.dumps(
        {
            "private_key": "some_key",
            "client_email": "service-account@example.com",
            "project_id": "private-key-project",
        }
    )
    with pytest.raises(NotImplementedError, match="private_key"):

# 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/unit/test_auth.py
import json
import pytest
    import google.auth
    import google.auth.credentials
    import google.cloud.bigquery
    import pydata_google_auth
    import google.auth
    import google.auth.credentials
    import pydata_google_auth
    import pydata_google_auth.cache
    import pydata_google_auth.cache
from unittest import mock
from pandas_gbq import auth

# 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.

# -*- coding: utf-8 -*-





def test_get_credentials_private_key_raises_notimplementederror(monkeypatch):
    private_key = json.dumps(
        {
            "private_key": "some_key",
            "client_email": "service-account@example.com",
            "project_id": "private-key-project",
        }
    )
    with pytest.raises(NotImplementedError, match="private_key"):

        auth.get_credentials(private_key=private_key)