From 5867fd7469d9b5c890fd7e65cb1371a4b1045458 Mon Sep 17 00:00:00 2001 From: Joe Wang Date: Mon, 10 Jun 2024 13:50:53 -0400 Subject: [PATCH] refactor unit tests --- library_generation/test/generate_pr_description_unit_tests.py | 4 ---- .../test/resources/goldens/pr_description-golden.txt | 3 --- 2 files changed, 7 deletions(-) diff --git a/library_generation/test/generate_pr_description_unit_tests.py b/library_generation/test/generate_pr_description_unit_tests.py index 29adaf4afa..b727cc3da9 100644 --- a/library_generation/test/generate_pr_description_unit_tests.py +++ b/library_generation/test/generate_pr_description_unit_tests.py @@ -142,9 +142,6 @@ def test_generate_pr_description_with_combined_message( LibraryChange( changed_param="libraries_bom_version", current_value="2.3.4" ), - LibraryChange( - changed_param="protoc_version", current_value="3.4.5" - ), ], ChangeType.GOOGLEAPIS_COMMIT: [], }, @@ -158,7 +155,6 @@ def test_generate_pr_description_with_combined_message( googleapis_commitish=documentai_commit_sha, libraries_bom_version="2.3.4", libraries=[library], - protoc_version="3.4.5", ), ), description_path=cwd, diff --git a/library_generation/test/resources/goldens/pr_description-golden.txt b/library_generation/test/resources/goldens/pr_description-golden.txt index c3f96e1c8e..d4db06a6ad 100644 --- a/library_generation/test/resources/goldens/pr_description-golden.txt +++ b/library_generation/test/resources/goldens/pr_description-golden.txt @@ -8,9 +8,6 @@ BEGIN_NESTED_COMMIT chore: update repo-level parameter libraries_bom_version to 2.3.4 END_NESTED_COMMIT BEGIN_NESTED_COMMIT -chore: update repo-level parameter protoc_version to 3.4.5 -END_NESTED_COMMIT -BEGIN_NESTED_COMMIT feat: Make Layout Parser generally available in V1 PiperOrigin-RevId: 638924855