Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…v19 compatibility
This commit introduces a test suite for the utility modules located in the
examples/utils/
directory.Key changes:
examples/utils/tests/
.examples/utils/tests/__init__.py
.examples/utils/tests/test_example_helpers.py
with unit tests forget_printable_datetime
andget_image_bytes_from_url
using theunittest
framework andunittest.mock
.google-ads
client library (v26.1.0) already supports Google Ads API v19, so no direct dependency changes for API versioning were required.noxfile.py
: Modified theTEST_COMMAND
forunittest discover
to scan from the project root (-s .
) instead of just the top-leveltests
directory. This ensures the new tests inexamples/utils/tests/
are discovered and executed by the standardnox
testing sessions.test_example_helpers.py
tofrom examples.utils import example_helpers
to ensure correct module resolution when tests are run from the project root.