diff options
author | Frederick Muriuki Muriithi | 2024-01-23 12:08:53 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-23 12:11:12 +0300 |
commit | 340376f2e9abba95b3c34495d6fd1c0b38235956 (patch) | |
tree | a3f2de9ec6dd6ad833592aa4e773b4de09652ee7 /README.org | |
parent | 105934ca5cf253c0f002a007ee57460a7632e2b8 (diff) | |
download | gn-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.org | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |