From 2d9a8e6d06106227289915d4713768742a268771 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 11 Jul 2018 10:37:44 -0700 Subject: [PATCH] fix test --- test/tasks/test_gapic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tasks/test_gapic.py b/test/tasks/test_gapic.py index 1f48c15f..c207f27d 100644 --- a/test/tasks/test_gapic.py +++ b/test/tasks/test_gapic.py @@ -188,7 +188,7 @@ def test_execute(self, exec_command, check_output): language='java', organization_name='google-cloud', package_metadata_yaml='/path/to/pmy.yaml', - discovery_doc="/path/to/compute.v1.json", + discovery_doc="compute.v1.json", toolkit_path='/path/to/toolkit', root_dir='root_dir' ) @@ -196,7 +196,7 @@ def test_execute(self, exec_command, check_output): ' '.join(['java -cp', '/path/to/toolkit/build/libs/gapic-generator-latest-fatjar.jar', 'com.google.api.codegen.GeneratorMain LEGACY_DISCOGAPIC_AND_PACKAGE', - '--discovery_doc=/path/to/compute.v1.json', + '--discovery_doc=root_dir/compute.v1.json', '--package_yaml2=/path/to/pmy.yaml --output=/path/to/output', '--language=java --gapic_yaml=/path/to/compute.yaml', ])