Signed-off-by: Jan Fajerski <jfajerski@suse.com>
import os
-if 'CEPH_SNAP_SCHEDULE_UNITTEST' not in os.environ:
- from .module import Module
+if 'UNITTEST' in os.environ:
+ import tests
+
+from .module import Module
PATH = {toxinidir}/../../../../build/bin:$PATH
py27: PYTHONPATH = {toxinidir}/../../../../build/lib/cython_modules/lib.2:..
py3: PYTHONPATH = {toxinidir}/../../../../build/lib/cython_modules/lib.3:{toxinidir}
- CEPH_SNAP_SCHEDULE_UNITTEST = true
+ UNITTEST = true
deps =
pytest
mock
orchestrator/ \
insights/ \
pg_autoscaler/ \
- progress/}
+ progress/ \
+ snap_schedule}
[testenv:mypy]
basepython = python3
orchestrator/__init__.py \
progress/module.py \
rook/module.py \
+ snap_schedule/module.py \
test_orchestrator/module.py \
mds_autoscaler/module.py \
volumes/__init__.py