From 0c32ce216cbbf1abd7d4bb7522f90a036863ff61 Mon Sep 17 00:00:00 2001 From: "pattishin@google.com" Date: Tue, 8 Aug 2023 13:20:30 -0700 Subject: [PATCH 1/2] refactor: adding in region tag to link back to cloud storage v2 unit test docs --- functions/v2/storage/main_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/v2/storage/main_test.py b/functions/v2/storage/main_test.py index d636a9b0317..7ae717ca431 100644 --- a/functions/v2/storage/main_test.py +++ b/functions/v2/storage/main_test.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +# [START functions_cloudevent_storage_unit_test] from cloudevents.http import CloudEvent import pytest @@ -55,3 +56,5 @@ def test_functions_eventsource_storage(capsys: pytest.LogCaptureFixture) -> None assert metageneration == 1 assert "2021-10-10 00:00:00.000000Z" in timeCreated assert "2021-11-11 00:00:00.000000Z" in updated + +# [END functions_cloudevent_storage_unit_test] From 511c5d7a8516e1454cadeddded2347a1b3512131 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 8 Aug 2023 20:27:19 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- functions/v2/storage/main_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/v2/storage/main_test.py b/functions/v2/storage/main_test.py index 7ae717ca431..7fe908d5f3d 100644 --- a/functions/v2/storage/main_test.py +++ b/functions/v2/storage/main_test.py @@ -57,4 +57,5 @@ def test_functions_eventsource_storage(capsys: pytest.LogCaptureFixture) -> None assert "2021-10-10 00:00:00.000000Z" in timeCreated assert "2021-11-11 00:00:00.000000Z" in updated + # [END functions_cloudevent_storage_unit_test]