From 8019bf553c4079633abc1d624c5ce747236eaecb Mon Sep 17 00:00:00 2001 From: Danny Hermes Date: Fri, 16 Sep 2016 10:56:16 -0700 Subject: [PATCH] Adding more info about setting up translate test. --- CONTRIBUTING.rst | 2 ++ system_tests/local_test_setup.sample | 1 + 2 files changed, 3 insertions(+) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c1d755bb354f..9cb07618962e 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -167,6 +167,8 @@ Running System Tests `docs `__ for more details. In order for Logging system tests to work, the Service Account will also have to be made a project Owner. This can be changed under "IAM & Admin". + - ``GOOGLE_CLOUD_TESTS_API_KEY``: The API key for your project with + the Google Translate API (and others) enabled. - Examples of these can be found in ``system_tests/local_test_setup.sample``. We recommend copying this to ``system_tests/local_test_setup``, editing the diff --git a/system_tests/local_test_setup.sample b/system_tests/local_test_setup.sample index 45ac9d67cb77..7fcd96dd3ddd 100644 --- a/system_tests/local_test_setup.sample +++ b/system_tests/local_test_setup.sample @@ -1,3 +1,4 @@ export GOOGLE_APPLICATION_CREDENTIALS="app_credentials.json.sample" export GOOGLE_CLOUD_REMOTE_FOR_LINT="upstream" export GOOGLE_CLOUD_BRANCH_FOR_LINT="master" +export GOOGLE_CLOUD_TESTS_API_KEY="abcd1234"