Skip to content

Commit 2451e88

Browse files
gcf-owl-bot[bot]vchudnov-ggcf-merge-on-green[bot]
authored
fix(diregapic): [Many APIs] s/bazel/bazelisk/ in DIREGAPIC build GitHub action (#12287)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE fix: fix ValueError in test__validate_universe_domain END_COMMIT_OVERRIDE PiperOrigin-RevId: 604714585 Source-Link: googleapis/googleapis@e4dce13 Source-Link: googleapis/googleapis-gen@4036f78 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2UtZGlyZWN0b3J5Ly5Pd2xCb3QueWFtbCIsImgiOiI0MDM2Zjc4MzA1YzVjMmFhYjgwZmY5MTk2MGIzYTNkOTgzZmY0YjAzIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2VoZWFsdGgvLk93bEJvdC55YW1sIiwiaCI6IjQwMzZmNzgzMDVjNWMyYWFiODBmZjkxOTYwYjNhM2Q5ODNmZjRiMDMifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNoZWxsLy5Pd2xCb3QueWFtbCIsImgiOiI0MDM2Zjc4MzA1YzVjMmFhYjgwZmY5MTk2MGIzYTNkOTgzZmY0YjAzIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNvdXJjZS1jb250ZXh0Ly5Pd2xCb3QueWFtbCIsImgiOiI0MDM2Zjc4MzA1YzVjMmFhYjgwZmY5MTk2MGIzYTNkOTgzZmY0YjAzIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiNDAzNmY3ODMwNWM1YzJhYWI4MGZmOTE5NjBiM2EzZDk4M2ZmNGIwMyJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXN0b3JhZ2UtdHJhbnNmZXIvL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BiM2EzZDk4M2ZmNGIwMyJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <[email protected]> Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
1 parent 7c2f2c2 commit 2451e88

File tree

59 files changed

+236
-236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+236
-236
lines changed

packages/google-cloud-service-directory/tests/unit/gapic/servicedirectory_v1/test_lookup_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
329329
# TODO: This is needed to cater for older versions of google-auth
330330
# Make this test unconditional once the minimum supported version of
331331
# google-auth becomes 2.23.0 or higher.
332-
google_auth_major, google_auth_minor, _ = [
333-
int(part) for part in google.auth.__version__.split(".")
332+
google_auth_major, google_auth_minor = [
333+
int(part) for part in google.auth.__version__.split(".")[0:2]
334334
]
335335
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
336336
credentials = ga_credentials.AnonymousCredentials()
@@ -348,8 +348,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
348348
#
349349
# TODO: Make this test unconditional once the minimum supported version of
350350
# google-api-core becomes 2.15.0 or higher.
351-
api_core_major, api_core_minor, _ = [
352-
int(part) for part in api_core_version.__version__.split(".")
351+
api_core_major, api_core_minor = [
352+
int(part) for part in api_core_version.__version__.split(".")[0:2]
353353
]
354354
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
355355
client = client_class(

packages/google-cloud-service-directory/tests/unit/gapic/servicedirectory_v1/test_registration_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
368368
# TODO: This is needed to cater for older versions of google-auth
369369
# Make this test unconditional once the minimum supported version of
370370
# google-auth becomes 2.23.0 or higher.
371-
google_auth_major, google_auth_minor, _ = [
372-
int(part) for part in google.auth.__version__.split(".")
371+
google_auth_major, google_auth_minor = [
372+
int(part) for part in google.auth.__version__.split(".")[0:2]
373373
]
374374
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
375375
credentials = ga_credentials.AnonymousCredentials()
@@ -387,8 +387,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
387387
#
388388
# TODO: Make this test unconditional once the minimum supported version of
389389
# google-api-core becomes 2.15.0 or higher.
390-
api_core_major, api_core_minor, _ = [
391-
int(part) for part in api_core_version.__version__.split(".")
390+
api_core_major, api_core_minor = [
391+
int(part) for part in api_core_version.__version__.split(".")[0:2]
392392
]
393393
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
394394
client = client_class(

packages/google-cloud-service-directory/tests/unit/gapic/servicedirectory_v1beta1/test_lookup_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
329329
# TODO: This is needed to cater for older versions of google-auth
330330
# Make this test unconditional once the minimum supported version of
331331
# google-auth becomes 2.23.0 or higher.
332-
google_auth_major, google_auth_minor, _ = [
333-
int(part) for part in google.auth.__version__.split(".")
332+
google_auth_major, google_auth_minor = [
333+
int(part) for part in google.auth.__version__.split(".")[0:2]
334334
]
335335
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
336336
credentials = ga_credentials.AnonymousCredentials()
@@ -348,8 +348,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
348348
#
349349
# TODO: Make this test unconditional once the minimum supported version of
350350
# google-api-core becomes 2.15.0 or higher.
351-
api_core_major, api_core_minor, _ = [
352-
int(part) for part in api_core_version.__version__.split(".")
351+
api_core_major, api_core_minor = [
352+
int(part) for part in api_core_version.__version__.split(".")[0:2]
353353
]
354354
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
355355
client = client_class(

packages/google-cloud-service-directory/tests/unit/gapic/servicedirectory_v1beta1/test_registration_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
369369
# TODO: This is needed to cater for older versions of google-auth
370370
# Make this test unconditional once the minimum supported version of
371371
# google-auth becomes 2.23.0 or higher.
372-
google_auth_major, google_auth_minor, _ = [
373-
int(part) for part in google.auth.__version__.split(".")
372+
google_auth_major, google_auth_minor = [
373+
int(part) for part in google.auth.__version__.split(".")[0:2]
374374
]
375375
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
376376
credentials = ga_credentials.AnonymousCredentials()
@@ -388,8 +388,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
388388
#
389389
# TODO: Make this test unconditional once the minimum supported version of
390390
# google-api-core becomes 2.15.0 or higher.
391-
api_core_major, api_core_minor, _ = [
392-
int(part) for part in api_core_version.__version__.split(".")
391+
api_core_major, api_core_minor = [
392+
int(part) for part in api_core_version.__version__.split(".")[0:2]
393393
]
394394
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
395395
client = client_class(

packages/google-cloud-servicehealth/tests/unit/gapic/servicehealth_v1/test_service_health.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
331331
# TODO: This is needed to cater for older versions of google-auth
332332
# Make this test unconditional once the minimum supported version of
333333
# google-auth becomes 2.23.0 or higher.
334-
google_auth_major, google_auth_minor, _ = [
335-
int(part) for part in google.auth.__version__.split(".")
334+
google_auth_major, google_auth_minor = [
335+
int(part) for part in google.auth.__version__.split(".")[0:2]
336336
]
337337
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
338338
credentials = ga_credentials.AnonymousCredentials()
@@ -350,8 +350,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
350350
#
351351
# TODO: Make this test unconditional once the minimum supported version of
352352
# google-api-core becomes 2.15.0 or higher.
353-
api_core_major, api_core_minor, _ = [
354-
int(part) for part in api_core_version.__version__.split(".")
353+
api_core_major, api_core_minor = [
354+
int(part) for part in api_core_version.__version__.split(".")[0:2]
355355
]
356356
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
357357
client = client_class(

packages/google-cloud-shell/tests/unit/gapic/shell_v1/test_cloud_shell_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
352352
# TODO: This is needed to cater for older versions of google-auth
353353
# Make this test unconditional once the minimum supported version of
354354
# google-auth becomes 2.23.0 or higher.
355-
google_auth_major, google_auth_minor, _ = [
356-
int(part) for part in google.auth.__version__.split(".")
355+
google_auth_major, google_auth_minor = [
356+
int(part) for part in google.auth.__version__.split(".")[0:2]
357357
]
358358
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
359359
credentials = ga_credentials.AnonymousCredentials()
@@ -371,8 +371,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
371371
#
372372
# TODO: Make this test unconditional once the minimum supported version of
373373
# google-api-core becomes 2.15.0 or higher.
374-
api_core_major, api_core_minor, _ = [
375-
int(part) for part in api_core_version.__version__.split(".")
374+
api_core_major, api_core_minor = [
375+
int(part) for part in api_core_version.__version__.split(".")[0:2]
376376
]
377377
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
378378
client = client_class(

packages/google-cloud-speech/tests/unit/gapic/speech_v1/test_adaptation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
312312
# TODO: This is needed to cater for older versions of google-auth
313313
# Make this test unconditional once the minimum supported version of
314314
# google-auth becomes 2.23.0 or higher.
315-
google_auth_major, google_auth_minor, _ = [
316-
int(part) for part in google.auth.__version__.split(".")
315+
google_auth_major, google_auth_minor = [
316+
int(part) for part in google.auth.__version__.split(".")[0:2]
317317
]
318318
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
319319
credentials = ga_credentials.AnonymousCredentials()
@@ -331,8 +331,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
331331
#
332332
# TODO: Make this test unconditional once the minimum supported version of
333333
# google-api-core becomes 2.15.0 or higher.
334-
api_core_major, api_core_minor, _ = [
335-
int(part) for part in api_core_version.__version__.split(".")
334+
api_core_major, api_core_minor = [
335+
int(part) for part in api_core_version.__version__.split(".")[0:2]
336336
]
337337
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
338338
client = client_class(

packages/google-cloud-speech/tests/unit/gapic/speech_v1/test_speech.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
309309
# TODO: This is needed to cater for older versions of google-auth
310310
# Make this test unconditional once the minimum supported version of
311311
# google-auth becomes 2.23.0 or higher.
312-
google_auth_major, google_auth_minor, _ = [
313-
int(part) for part in google.auth.__version__.split(".")
312+
google_auth_major, google_auth_minor = [
313+
int(part) for part in google.auth.__version__.split(".")[0:2]
314314
]
315315
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
316316
credentials = ga_credentials.AnonymousCredentials()
@@ -328,8 +328,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
328328
#
329329
# TODO: Make this test unconditional once the minimum supported version of
330330
# google-api-core becomes 2.15.0 or higher.
331-
api_core_major, api_core_minor, _ = [
332-
int(part) for part in api_core_version.__version__.split(".")
331+
api_core_major, api_core_minor = [
332+
int(part) for part in api_core_version.__version__.split(".")[0:2]
333333
]
334334
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
335335
client = client_class(

packages/google-cloud-speech/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
312312
# TODO: This is needed to cater for older versions of google-auth
313313
# Make this test unconditional once the minimum supported version of
314314
# google-auth becomes 2.23.0 or higher.
315-
google_auth_major, google_auth_minor, _ = [
316-
int(part) for part in google.auth.__version__.split(".")
315+
google_auth_major, google_auth_minor = [
316+
int(part) for part in google.auth.__version__.split(".")[0:2]
317317
]
318318
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
319319
credentials = ga_credentials.AnonymousCredentials()
@@ -331,8 +331,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
331331
#
332332
# TODO: Make this test unconditional once the minimum supported version of
333333
# google-api-core becomes 2.15.0 or higher.
334-
api_core_major, api_core_minor, _ = [
335-
int(part) for part in api_core_version.__version__.split(".")
334+
api_core_major, api_core_minor = [
335+
int(part) for part in api_core_version.__version__.split(".")[0:2]
336336
]
337337
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
338338
client = client_class(

packages/google-cloud-speech/tests/unit/gapic/speech_v1p1beta1/test_speech.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
309309
# TODO: This is needed to cater for older versions of google-auth
310310
# Make this test unconditional once the minimum supported version of
311311
# google-auth becomes 2.23.0 or higher.
312-
google_auth_major, google_auth_minor, _ = [
313-
int(part) for part in google.auth.__version__.split(".")
312+
google_auth_major, google_auth_minor = [
313+
int(part) for part in google.auth.__version__.split(".")[0:2]
314314
]
315315
if google_auth_major > 2 or (google_auth_major == 2 and google_auth_minor >= 23):
316316
credentials = ga_credentials.AnonymousCredentials()
@@ -328,8 +328,8 @@ def test__validate_universe_domain(client_class, transport_class, transport_name
328328
#
329329
# TODO: Make this test unconditional once the minimum supported version of
330330
# google-api-core becomes 2.15.0 or higher.
331-
api_core_major, api_core_minor, _ = [
332-
int(part) for part in api_core_version.__version__.split(".")
331+
api_core_major, api_core_minor = [
332+
int(part) for part in api_core_version.__version__.split(".")[0:2]
333333
]
334334
if api_core_major > 2 or (api_core_major == 2 and api_core_minor >= 15):
335335
client = client_class(

0 commit comments

Comments
 (0)