Add Unit Tests to Base Worker repo to avoid regressions
parent
35147e42
No related branches found
No related tags found
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- .gitlab-ci.yml 21 additions, 0 deletions.gitlab-ci.yml
- .isort.cfg 1 addition, 1 deletion.isort.cfg
- arkindex_worker/worker.py 4 additions, 2 deletionsarkindex_worker/worker.py
- tests-requirements.txt 3 additions, 0 deletionstests-requirements.txt
- tests/__init__.py 0 additions, 0 deletionstests/__init__.py
- tests/conftest.py 10 additions, 0 deletionstests/conftest.py
- tests/data/test_image.jpg 0 additions, 0 deletionstests/data/test_image.jpg
- tests/data/tiled_image.jpg 0 additions, 0 deletionstests/data/tiled_image.jpg
- tests/test_base_worker.py 66 additions, 0 deletionstests/test_base_worker.py
- tests/test_element.py 277 additions, 0 deletionstests/test_element.py
- tests/test_elements_worker.py 381 additions, 0 deletionstests/test_elements_worker.py
- tests/test_image.py 103 additions, 0 deletionstests/test_image.py
- tests/test_reporting.py 145 additions, 0 deletionstests/test_reporting.py
- tox.ini 12 additions, 0 deletionstox.ini
tests-requirements.txt
0 → 100644
pytest==5.4.3 | ||
pytest-mock==3.2.0 | ||
pytest-responses==0.4.0 |
tests/__init__.py
0 → 100644
tests/conftest.py
0 → 100644
tests/data/test_image.jpg
0 → 100644
14.6 KiB
tests/data/tiled_image.jpg
0 → 100644
184 KiB
tests/test_base_worker.py
0 → 100644
tests/test_element.py
0 → 100644
tests/test_elements_worker.py
0 → 100644
tests/test_image.py
0 → 100644
tests/test_reporting.py
0 → 100644
tox.ini
0 → 100644