X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fosm-ro%2Ftox.ini;h=0451ff1a023b2b9c5012cef0565e614804f61bc5;hb=6ce504a281a36bb3e775a06437abcbe519ae9df6;hp=e27651dafaf4460c742a6ead8b66705cba410e51;hpb=354ca211482bd96656590e4ce2bfb307421b2090;p=osm%2Fdevops.git diff --git a/installers/charm/osm-ro/tox.ini b/installers/charm/osm-ro/tox.ini index e27651da..0451ff1a 100644 --- a/installers/charm/osm-ro/tox.ini +++ b/installers/charm/osm-ro/tox.ini @@ -21,15 +21,16 @@ [tox] skipsdist=True skip_missing_interpreters = True -envlist = lint, unit +envlist = lint, unit, integration [vars] src_path = {toxinidir}/src/ tst_path = {toxinidir}/tests/ lib_path = {toxinidir}/lib/charms/osm_ro -all_path = {[vars]src_path} {[vars]tst_path} +all_path = {[vars]src_path} {[vars]tst_path} [testenv] +basepython = python3.8 setenv = PYTHONPATH = {toxinidir}:{toxinidir}/lib:{[vars]src_path} PYTHONBREAKPOINT=ipdb.set_trace @@ -54,7 +55,6 @@ deps = black flake8==4.0.1 flake8-docstrings - flake8-copyright flake8-builtins pyproject-flake8 pep8-naming @@ -92,4 +92,4 @@ deps = pytest-operator -r{toxinidir}/requirements.txt commands = - pytest -v --tb native --ignore={[vars]tst_path}unit --log-cli-level=INFO -s {posargs} + pytest -v --tb native --ignore={[vars]tst_path}unit --log-cli-level=INFO -s {posargs} --cloud microk8s \ No newline at end of file