aboutsummaryrefslogtreecommitdiff
path: root/tests/test_instance_dir/config.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-06-15 08:05:11 +0300
committerFrederick Muriuki Muriithi2022-06-15 08:05:11 +0300
commit6760d322637a3d875242a66e9c1a784866d7df1d (patch)
tree9c789b3f25cb1b1c04dc7974f9aab0ffcb6acdf4 /tests/test_instance_dir/config.py
parentc2fa70ec8503d10b990575a547036bfd70a53825 (diff)
downloadgn-uploader-6760d322637a3d875242a66e9c1a784866d7df1d.tar.gz
Setup test fixtures and initial tests for web-UI
Diffstat (limited to 'tests/test_instance_dir/config.py')
-rw-r--r--tests/test_instance_dir/config.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_instance_dir/config.py b/tests/test_instance_dir/config.py
new file mode 100644
index 0000000..2ee569b
--- /dev/null
+++ b/tests/test_instance_dir/config.py
@@ -0,0 +1,11 @@
+"""
+The tests configuration file.
+"""
+
+import os
+
+LOG_LEVEL = os.getenv("LOG_LEVEL", "WARNING")
+SECRET_KEY = b"<Please! Please! Please! Change This!>"
+UPLOAD_FOLDER = "/tmp/qc_app_files"
+REDIS_URL = "redis://"
+JOBS_TTL_SECONDS = 600 # 10 minutes