aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test_gemma.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-03-03 10:59:32 +0300
committerBonfaceKilz2021-03-08 21:09:58 +0300
commitb7a57dc5a97403906ee43e2fecac641611cf5ab8 (patch)
treeb7da01ae33f984f571dad31ed5b1e31ce4b920b3 /tests/integration/test_gemma.py
parent9dff9888f81b7eec0e698466518ce4cb55b8bd8c (diff)
downloadgenenetwork3-b7a57dc5a97403906ee43e2fecac641611cf5ab8.tar.gz
Replace APP_DEFAULTS dict with actual conf params
Diffstat (limited to 'tests/integration/test_gemma.py')
-rw-r--r--tests/integration/test_gemma.py12
1 files changed, 5 insertions, 7 deletions
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):