|
81 | 81 | { |
82 | 82 | "type": "fix", |
83 | 83 | "subject": "some fix", |
84 | | - "body": "", |
| 84 | + "body": "some body", |
85 | 85 | "piper_cl_number": "786353208", |
86 | 86 | "source_commit_hash": "1231532e7d19c8d71709ec3b502e5d81340fb661", |
87 | 87 | }, |
@@ -304,7 +304,10 @@ def test_get_new_library_config_not_found(): |
304 | 304 | """Tests that an empty dictionary is returned when no new library is found.""" |
305 | 305 | request_data = { |
306 | 306 | "libraries": [ |
307 | | - {"id": "existing-library", "apis": [{"path": "path/v1", "status": "existing"}]}, |
| 307 | + { |
| 308 | + "id": "existing-library", |
| 309 | + "apis": [{"path": "path/v1", "status": "existing"}], |
| 310 | + }, |
308 | 311 | ] |
309 | 312 | } |
310 | 313 | config = _get_new_library_config(request_data) |
@@ -333,7 +336,10 @@ def test_prepare_new_library_config(): |
333 | 336 | assert "status" not in prepared_config["apis"][0] |
334 | 337 | # Check that defaults are added |
335 | 338 | assert prepared_config["source_roots"] == ["packages/google-cloud-language"] |
336 | | - assert "packages/google-cloud-language/CHANGELOG.md" in prepared_config["preserve_regex"] |
| 339 | + assert ( |
| 340 | + "packages/google-cloud-language/CHANGELOG.md" |
| 341 | + in prepared_config["preserve_regex"] |
| 342 | + ) |
337 | 343 | assert prepared_config["remove_regex"] == ["packages/google-cloud-language"] |
338 | 344 | assert prepared_config["tag_format"] == "{{id}}-v{{version}}" |
339 | 345 |
|
@@ -957,12 +963,12 @@ def test_process_changelog_success(): |
957 | 963 | expected_result = f"""# Changelog\n[PyPI History][1]\n[1]: https://pypi.org/project/google-cloud-language/#history\n |
958 | 964 | ## [1.2.3](https://github.com/googleapis/google-cloud-python/compare/google-cloud-language-v1.2.2...google-cloud-language-v1.2.3) ({current_date})\n\n |
959 | 965 | ### Documentation\n |
960 | | -* fix typo in BranchRule comment ([9461532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/9461532e7d19c8d71709ec3b502e5d81340fb661))\n\n |
| 966 | +* fix typo in BranchRule comment ([9461532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/9461532e7d19c8d71709ec3b502e5d81340fb661))\n\n |
961 | 967 | ### Features\n |
962 | | -* add new UpdateRepository API ([9461532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/9461532e7d19c8d71709ec3b502e5d81340fb661))\n\n |
| 968 | +* add new UpdateRepository API This adds the ability to update a repository's properties. ([9461532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/9461532e7d19c8d71709ec3b502e5d81340fb661))\n\n |
963 | 969 | ### Bug Fixes\n |
964 | | -* some fix ([1231532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/1231532e7d19c8d71709ec3b502e5d81340fb661)) |
965 | | -* another fix ([1241532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/1241532e7d19c8d71709ec3b502e5d81340fb661))\n |
| 970 | +* some fix some body ([1231532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/1231532e7d19c8d71709ec3b502e5d81340fb661)) |
| 971 | +* another fix ([1241532e7d19c8d71709ec3b502e5d81340fb661](https://github.com/googleapis/google-cloud-python/commit/1241532e7d19c8d71709ec3b502e5d81340fb661))\n |
966 | 972 | ## [1.2.2](https://github.com/googleapis/google-cloud-python/compare/google-cloud-language-v1.2.1...google-cloud-language-v1.2.2) (2025-06-11)""" |
967 | 973 | version = "1.2.3" |
968 | 974 | previous_version = "1.2.2" |
|
0 commit comments