From 81029f31cf77809ef5e7330803ea53a632e8d9bb Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 3 Aug 2021 17:41:00 +0000 Subject: [PATCH 1/6] For testing purposes --- samples/requirements-test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 samples/requirements-test.txt diff --git a/samples/requirements-test.txt b/samples/requirements-test.txt new file mode 100644 index 00000000..95ea1e6a --- /dev/null +++ b/samples/requirements-test.txt @@ -0,0 +1 @@ +pytest==6.2.4 From 230f7bf71fb763f19252d1e78fb74d8cd966a201 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 3 Aug 2021 20:55:21 +0000 Subject: [PATCH 2/6] Update GA_TEST_PROPERTY_ID --- samples/noxfile_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/noxfile_config.py b/samples/noxfile_config.py index b883a88e..a56a6a5f 100644 --- a/samples/noxfile_config.py +++ b/samples/noxfile_config.py @@ -13,7 +13,7 @@ # 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_PROPERTY_ID": "276206997", "GA_TEST_ACCOUNT_ID": "123", "GA_TEST_USER_LINK_ID": "123", "GA_TEST_ANDROID_APP_DATA_STREAM_ID": "123", From 83ba5bfc57e3966672d81058a94c1acfa74f0977 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 3 Aug 2021 21:07:28 +0000 Subject: [PATCH 3/6] use build specific project --- samples/noxfile_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/noxfile_config.py b/samples/noxfile_config.py index a56a6a5f..cffd7dfb 100644 --- a/samples/noxfile_config.py +++ b/samples/noxfile_config.py @@ -8,7 +8,7 @@ # 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. From b8c47cdc71ebc8f7ab58ba572a5862bb38fb1e95 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 3 Aug 2021 21:32:20 +0000 Subject: [PATCH 4/6] clean up samples/requirements.txt --- samples/requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/requirements.txt b/samples/requirements.txt index d384ab24..3132ccc8 100644 --- a/samples/requirements.txt +++ b/samples/requirements.txt @@ -1,2 +1 @@ google-analytics-admin==0.4.3 -google-auth-oauthlib==0.4.5 \ No newline at end of file From 5c4e01b689b8847d6cb9a463e48735c246892e77 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 2 Sep 2021 05:01:33 -0400 Subject: [PATCH 5/6] update GA_TEST_ACCOUNT_ID --- samples/noxfile_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/noxfile_config.py b/samples/noxfile_config.py index cffd7dfb..475aaaa9 100644 --- a/samples/noxfile_config.py +++ b/samples/noxfile_config.py @@ -14,7 +14,7 @@ # secrets here. These values will override predefined values. "envs": { "GA_TEST_PROPERTY_ID": "276206997", - "GA_TEST_ACCOUNT_ID": "123", + "GA_TEST_ACCOUNT_ID": "199820965", "GA_TEST_USER_LINK_ID": "123", "GA_TEST_ANDROID_APP_DATA_STREAM_ID": "123", "GA_TEST_IOS_APP_DATA_STREAM_ID": "123", From 146f0bc4275074e2104ee47431ec8ef43281ecee Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 2 Sep 2021 05:04:16 -0400 Subject: [PATCH 6/6] remove noxfile_config settings --- samples/noxfile_config.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/samples/noxfile_config.py b/samples/noxfile_config.py index 475aaaa9..635b6c6a 100644 --- a/samples/noxfile_config.py +++ b/samples/noxfile_config.py @@ -1,13 +1,4 @@ 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": "BUILD_SPECIFIC_GCLOUD_PROJECT", # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT', # A dictionary you want to inject into your test. Don't put any