Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Jan 6, 2016

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).

@dhermes dhermes added the testing label Jan 6, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 6, 2016
@dhermes
Copy link
Contributor Author

dhermes commented Jan 6, 2016

Towards #1123

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 dhermes force-pushed the move-system-test-runner-to-python branch from e1f4a4b to d6c3b87 Compare January 7, 2016 23:14
@dhermes
Copy link
Contributor Author

dhermes commented Jan 7, 2016

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

@tseaver
Copy link
Contributor

tseaver commented Jan 7, 2016

LGTM

dhermes added a commit that referenced this pull request Jan 7, 2016
Move system test runner from bash to Python
@dhermes dhermes merged commit b5946a1 into googleapis:master Jan 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 <[email protected]>

* add new line

* lint

Co-authored-by: Anthonios Partheniou <[email protected]>
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants