From a3e7118b1a2ba8cfb1dbfefa97829e7e73808617 Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Wed, 18 May 2022 19:29:19 +0100 Subject: [PATCH] FIX: Use new octue method name --- app.py | 2 +- tests/test_deployment.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index e56279b..fa4b0ce 100644 --- a/app.py +++ b/app.py @@ -26,7 +26,7 @@ def run(analysis): with tempfile.TemporaryDirectory() as temporary_directory: input_dataset = analysis.input_manifest.datasets["turbsim"] - input_dataset.download_all_files(temporary_directory) + input_dataset.download(temporary_directory) input_file = input_dataset.files.one() logger.info("Starting turbsim analysis.") diff --git a/tests/test_deployment.py b/tests/test_deployment.py index ad249ea..216197c 100644 --- a/tests/test_deployment.py +++ b/tests/test_deployment.py @@ -16,7 +16,7 @@ class TestDeployment(unittest.TestCase): condition=os.getenv("RUN_DEPLOYMENT_TESTS", "0").lower() == "1", reason="'RUN_DEPLOYMENT_TESTS' environment variable is 0 or not present.", ) - def test_cloud_run_integration(self): + def test_cloud_run_deployment(self): """Test that the Google Cloud Run integration works, providing a service that can be asked questions and send responses. An input dataset from Google Cloud Storage is used for this test. """