From 45f4dc8b2079ce97374785984b6f31049f374fd5 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Mon, 10 May 2021 16:12:25 +0300 Subject: tests: test_gemma: Add TMPDIR to test_client() --- tests/integration/test_gemma.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/integration/test_gemma.py b/tests/integration/test_gemma.py index 1eef3f9..f871173 100644 --- a/tests/integration/test_gemma.py +++ b/tests/integration/test_gemma.py @@ -25,10 +25,9 @@ class GemmaAPITest(unittest.TestCase): "GENODIR": os.path.abspath( os.path.join(os.path.dirname(__file__), "test_data/")), - "REDIS_JOB_QUEUE": - "GN3::job-queue", - "GEMMA_WRAPPER_CMD": - "gemma-wrapper" + "REDIS_JOB_QUEUE": "GN3::job-queue", + "GEMMA_WRAPPER_CMD": "gemma-wrapper", + "TMPDIR": "/tmp" }).test_client() @mock.patch("gn3.api.gemma.run_cmd") -- cgit v1.2.3