From 7c9c167bacba68a1c95a630c3cc15258e48aa134 Mon Sep 17 00:00:00 2001 From: Sijun Liu Date: Thu, 29 Aug 2024 17:17:38 +0000 Subject: [PATCH] chore: update --- .../tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 | 2 +- .../tests/unit/gapic/logging_v2/test_config_service_v2.py | 1 + .../tests/unit/gapic/logging_v2/test_logging_service_v2.py | 1 + .../tests/unit/gapic/logging_v2/test_metrics_service_v2.py | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 b/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 index 22dd591d9f..5c5c2f1fb0 100644 --- a/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 +++ b/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 @@ -20,8 +20,8 @@ from grpc.experimental import aio {% if "rest" in opts.transport %} from collections.abc import Iterable from google.protobuf import json_format -import json {% endif %} +import json import math import pytest from google.api_core import api_core_version diff --git a/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_config_service_v2.py b/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_config_service_v2.py index 3f072c9a15..7c08b2c0f4 100755 --- a/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_config_service_v2.py +++ b/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_config_service_v2.py @@ -23,6 +23,7 @@ import grpc from grpc.experimental import aio +import json import math import pytest from google.api_core import api_core_version diff --git a/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_logging_service_v2.py b/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_logging_service_v2.py index fb33eff7c7..c518e0b28d 100755 --- a/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_logging_service_v2.py +++ b/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_logging_service_v2.py @@ -23,6 +23,7 @@ import grpc from grpc.experimental import aio +import json import math import pytest from google.api_core import api_core_version diff --git a/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_metrics_service_v2.py b/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_metrics_service_v2.py index f9859a7f0c..123710f74f 100755 --- a/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_metrics_service_v2.py +++ b/tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_metrics_service_v2.py @@ -23,6 +23,7 @@ import grpc from grpc.experimental import aio +import json import math import pytest from google.api_core import api_core_version