Skip to content

Commit 1248a64

Browse files
committed
Fix formatting
1 parent 9a4526f commit 1248a64

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"backendUrl": ""
3-
}
3+
}

tests/unittests/cli/utils/test_gcp_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ def test_sign_up_express(self, mock_auth_default, mock_session_cls):
140140
},
141141
)
142142

143-
@mock.patch(
144-
"google.cloud.resourcemanager_v3.ProjectsClient"
145-
)
143+
@mock.patch("google.cloud.resourcemanager_v3.ProjectsClient")
146144
def test_list_gcp_projects(self, mock_client_cls):
147145
mock_client = mock.Mock()
148146
mock_client_cls.return_value = mock_client
@@ -165,7 +163,8 @@ def test_list_gcp_projects(self, mock_client_cls):
165163
@mock.patch.dict("sys.modules", {"google.cloud": None})
166164
def test_list_gcp_projects_import_error(self):
167165
with self.assertRaisesRegex(
168-
RuntimeError, "Listing GCP projects requires the 'gcp' optional dependency"
166+
RuntimeError,
167+
"Listing GCP projects requires the 'gcp' optional dependency",
169168
):
170169
gcp_utils.list_gcp_projects()
171170

0 commit comments

Comments
 (0)