From b7a57dc5a97403906ee43e2fecac641611cf5ab8 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 3 Mar 2021 10:59:32 +0300 Subject: Replace APP_DEFAULTS dict with actual conf params --- tests/integration/test_gemma.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'tests/integration') diff --git a/tests/integration/test_gemma.py b/tests/integration/test_gemma.py index deabcc4..e434dab 100644 --- a/tests/integration/test_gemma.py +++ b/tests/integration/test_gemma.py @@ -20,13 +20,11 @@ class GemmaAPITest(unittest.TestCase): """Test cases for the Gemma API""" def setUp(self): self.app = create_app({ - "APP_DEFAULTS": { - "GENODIR": os.path.abspath( - os.path.join(os.path.dirname(__file__), - "test_data/")), - "TMPDIR": "/tmp", - "REDIS_JOB_QUEUE": "GN3::job-queue", - "GEMMA_WRAPPER_CMD": "gemma-wrapper"}}).test_client() + "GENODIR": os.path.abspath( + os.path.join(os.path.dirname(__file__), + "test_data/")), + "REDIS_JOB_QUEUE": "GN3::job-queue", + "GEMMA_WRAPPER_CMD": "gemma-wrapper"}).test_client() @mock.patch("gn3.api.gemma.run_cmd") def test_get_version(self, mock_run_cmd): -- cgit v1.2.3