aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-23 12:08:53 +0300
committerFrederick Muriuki Muriithi2024-01-23 12:11:12 +0300
commit340376f2e9abba95b3c34495d6fd1c0b38235956 (patch)
treea3f2de9ec6dd6ad833592aa4e773b4de09652ee7 /README.org
parent105934ca5cf253c0f002a007ee57460a7632e2b8 (diff)
downloadgn-uploader-340376f2e9abba95b3c34495d6fd1c0b38235956.tar.gz
Tests: Use prefixes in tests rather than starting redis server
It's easier, and more robust to put the data under a prefix within a redis database rather than try to run a redis server, especially within the test environment. This commit updates the tests to use a redis prefix instead.
Diffstat (limited to 'README.org')
-rw-r--r--README.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.org b/README.org
index 84ad65a..d7a0dcb 100644
--- a/README.org
+++ b/README.org
@@ -80,11 +80,6 @@ flask run
*** Checks
-Run unit tests with:
-#+BEGIN_SRC shell
- pytest -k unit_test
-#+END_SRC
-
To run the linter over the code base, run:
#+BEGIN_SRC shell
pylint setup.py wsgi.py tests quality_control qc_app r_qtl scripts
@@ -95,6 +90,11 @@ To check for correct type usage in the application, run:
mypy --show-error-codes .
#+END_SRC
+Run unit tests with:
+#+BEGIN_SRC shell
+ pytest -k unit_test
+#+END_SRC
+
** Deploying/Installing QC
*** CLI: Docker