def test_empty_configuration_raises_error(self):
    """Test that completely empty configuration is rejected.

    Users must provide either existing credentials or the components
    needed to create new ones.
    """
    with pytest.raises(
        ValueError,
        match=(
            "Must provide either credentials or client_id and client_secret"
            " pair"
        ),
    ):
      BigQueryCredentialsConfig()
Test that completely empty configuration is rejected.

    Users must provide either existing credentials or the components
    needed to create new ones.
    
tests/unittests/tools/bigquery/test_bigquery_credentials.py