Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 1ed7c9d

Browse files
authored
fix: generated unit tests live in the 'tests/gapic' subdir (#456)
Some GAPICs have a manual layer and corresponding handwritten unit tests. These handwritten surfaces are subject to linting, but the autogenerated portions of the surface should not be. Moving generated unit tests to their own subdirectory makes it easier to remove them from linting rules. implementation for #454
1 parent 28a1585 commit 1ed7c9d

5 files changed

File tree

gapic/ads-templates/tests/unit/%name_%version/%sub/__init__.py renamed to gapic/ads-templates/tests/unit/gapic/%name_%version/%sub/__init__.py

File renamed without changes.

gapic/ads-templates/tests/unit/%name_%version/%sub/test_%service.py.j2 renamed to gapic/ads-templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2

File renamed without changes.

gapic/ads-templates/tests/unit/%name_%version/test_module_import.py.j2 renamed to gapic/ads-templates/tests/unit/gapic/%name_%version/test_module_import.py.j2

File renamed without changes.

gapic/templates/tests/unit/%name_%version/%sub/__init__.py renamed to gapic/templates/tests/unit/gapic/%name_%version/%sub/__init__.py

File renamed without changes.

gapic/templates/tests/unit/%name_%version/%sub/test_%service.py.j2 renamed to gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2

File renamed without changes.

0 commit comments

Comments
 (0)