-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update test configuration (#129)
* update test configuration * remove custom noxfile configs for now * remove MaximumUserAccess rom sample * add comment in noxfile_config.py * run blacken session * lint * add pytest * Update noxfile_config.py * Update noxfile_config.py * delete enhanced measurement settings samples as this functionality is no longer supported in v1alpha * fix the samples tests * do not use the `maximum_user_access` field and `update` operation in properties.firebase_links tests as this is no longer supported in v1alpha * use `creator_email_address` instead of `email_address` field in properties.google_ads_links_list() test as the field has been renamed in v1alpha * fix the samples test Co-authored-by: Anthonios Partheniou <[email protected]>
- Loading branch information
Showing
16 changed files
with
30 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
TEST_CONFIG_OVERRIDE = { | ||
# You can opt out from the test for specific Python versions. | ||
"ignored_versions": ["2.7"], | ||
# Old samples are opted out of enforcing Python type hints | ||
# All new samples should feature them | ||
"enforce_type_hints": True, | ||
# An envvar key for determining the project id to use. Change it | ||
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a | ||
# build specific Cloud project. You can also use your own string | ||
# to use your own Cloud project. | ||
"gcloud_project_env": "GOOGLE_CLOUD_PROJECT", | ||
"gcloud_project_env": "BUILD_SPECIFIC_GCLOUD_PROJECT", | ||
# 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT', | ||
# A dictionary you want to inject into your test. Don't put any | ||
# secrets here. These values will override predefined values. | ||
"envs": { | ||
"GA_TEST_PROPERTY_ID": "222596558", | ||
"GA_TEST_ACCOUNT_ID": "123", | ||
"GA_TEST_USER_LINK_ID": "123", | ||
"GA_TEST_ANDROID_APP_DATA_STREAM_ID": "123", | ||
"GA_TEST_IOS_APP_DATA_STREAM_ID": "123", | ||
"GA_TEST_WEB_DATA_STREAM_ID": "123", | ||
"GA_TEST_PROPERTY_ID": "276206997", | ||
"GA_TEST_ACCOUNT_ID": "199820965", | ||
"GA_TEST_USER_LINK_ID": "103401743041912607932", | ||
"GA_TEST_PROPERTY_USER_LINK_ID": "105231969274497648555", | ||
"GA_TEST_ANDROID_APP_DATA_STREAM_ID": "2828100949", | ||
"GA_TEST_IOS_APP_DATA_STREAM_ID": "2828089289", | ||
"GA_TEST_WEB_DATA_STREAM_ID": "2828068992", | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
packages/google-analytics-admin/samples/properties_firebase_links_update.py
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
packages/google-analytics-admin/samples/properties_firebase_links_update_test.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 0 additions & 79 deletions
79
...-analytics-admin/samples/properties_web_data_streams_get_enhanced_measurement_settings.py
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...ytics-admin/samples/properties_web_data_streams_get_enhanced_measurement_settings_test.py
This file was deleted.
Oops, something went wrong.
73 changes: 0 additions & 73 deletions
73
...alytics-admin/samples/properties_web_data_streams_update_enhanced_measurement_settings.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.