Skip to content

Move system test runner from bash to Python - #1349

Merged
dhermes merged 4 commits into
googleapis:masterfrom
dhermes:move-system-test-runner-to-python
Jan 7, 2016
Merged

Move system test runner from bash to Python#1349
dhermes merged 4 commits into
googleapis:masterfrom
dhermes:move-system-test-runner-to-python

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

Also re-tooling the run_module_tests method to be more useful from other directories (so that we could call it from the scripts/ subdirectory).

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 6, 2016
@dhermes

Copy link
Copy Markdown
ContributorAuthor

Towards #1123

Comment threadsystem_tests/bigquery.py Outdated

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Also using the re-purposed `run_module_tests` to get a basic
`scripts/attempt_system_tests.py` to perform all four tests
as is done in `scripts/run_system_tests.sh`.
Achieved by updating `scripts/attempt_system_tests.py` to
support Travis, including decrypting a key in a subprocess.
In a set-up where the tests are not intended to be run (e.g. a
PR build for Travis), just importing these modules caused
errors due to lack of implicit variables being set.
So, all configuration done at import time was moved into `setUpClass`
if there was only one `TestCase` or moved to `setUpModule` with
some mutable global if there were multiple `TestCase`s.
@dhermes
dhermesforce-pushed the move-system-test-runner-to-python branch from e1f4a4b to d6c3b87CompareJanuary 7, 2016 23:14
@dhermes

Copy link
Copy Markdown
ContributorAuthor

@tseaver PTAL I added another commit to have all 4 system tests use Config.

@tseaver

Copy link
Copy Markdown
Contributor

LGTM

dhermes added a commit that referenced this pull request Jan 7, 2016
@dhermes
dhermes merged commit b5946a1 into googleapis:masterJan 7, 2016
@dhermes
dhermes deleted the move-system-test-runner-to-python branch January 7, 2016 23:55
parthea added a commit that referenced this pull request Nov 24, 2025
* Chore: Added document ai to setup.py
* updated ads-templates setup.py
* removed readme from ads template
* reverted ads-templates changes
* Update gapic/templates/setup.py.j2
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* add new line
* lint
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Nov 26, 2025
* fix: Skip checking projectid on cred if env var is set
* add test for legacy project
---------
Co-authored-by: Carl Lundin <108372512+clundin25@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 6, 2026
Source-Link: googleapis/synthtool@50db768
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dhermes@tseaver@googlebot