From fde11a3b7f8aab2b2cd6275b43d4d2e83a65fe8e Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sun, 1 Jul 2018 02:35:04 +0300 Subject: [PATCH] test: use GOOGLE_APPLICATION_CREDENTIALS when running GS repro test Signed-off-by: Ruslan Kuprieiev --- tests/test_repro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_repro.py b/tests/test_repro.py index 620b9ab2e..6d8a826fe 100644 --- a/tests/test_repro.py +++ b/tests/test_repro.py @@ -380,7 +380,7 @@ class TestReproExternalGS(TestReproExternalBase): return TEST_GCP_REPO_BUCKET def cmd(self, i, o): - return 'gsutil cp {} {}'.format(i, o) + return 'GOOGLE_APPLICATION_CREDENTIALS={} gsutil cp {} {}'.format(os.getenv(GOOGLE_APPLICATION_CREDENTIALS,''), i, o) def write(self, bucket, key, body): client = gc.Client()