aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBonfaceKilz2021-05-10 16:12:25 +0300
committerBonfaceKilz2021-05-10 16:12:25 +0300
commit45f4dc8b2079ce97374785984b6f31049f374fd5 (patch)
treeed9a228507e596ece4714f5ea8fd152d6dac2433 /tests
parentab89a28f838bccea160b5f0d032c87e0f8f2af9f (diff)
downloadgenenetwork3-45f4dc8b2079ce97374785984b6f31049f374fd5.tar.gz
tests: test_gemma: Add TMPDIR to test_client()
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/test_gemma.py7
1 files 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")