Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add get_bq_config_path() to _cloud_sdk.py #1358

Merged
merged 6 commits into from
Aug 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix lint errors
  • Loading branch information
wj-chen committed Jul 28, 2023
commit 5bbc9d299d3d3da31f8af6cfb8bdd71d3a9fe036
5 changes: 4 additions & 1 deletion tests/test__cloud_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ def test_get_gcloud_config_path_unix(expanduser):

config_path = _cloud_sdk.get_gcloud_config_path()

assert os.path.split(config_path) == ("~/.config", _cloud_sdk._CONFIG_DIRECTORY_GCLOUD)
assert os.path.split(config_path) == (
"~/.config",
_cloud_sdk._CONFIG_DIRECTORY_GCLOUD,
)


@mock.patch("os.name", new="nt")
Expand Down