diff options
author | michal.jagiello@t-mobile.pl <michal.jagiello@t-mobile.pl> | 2023-11-02 18:04:59 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2023-11-02 19:09:26 +0100 |
commit | 10cc190bc21f3f72814ac818b180c2bb06029981 (patch) | |
tree | d0594d1ec1a92cb68d20c0db9af90a0bba5030c5 /tox.ini | |
parent | 4bdb9d7a9e6b0087332a61125d544a95e695cb8b (diff) |
Sonarqube fixes
Code was linted using sonarqube and fixes was made
Issue-ID: TEST-404
Change-Id: Id5874b8f4f392228743cd12657a8efcb1ded0b5b
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2,7 +2,13 @@ envlist = py38,py39,pylint,pydocstyle,bandit [testenv] -commands = pytest tests/ +commands = pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules +deps = -rtest-requirements.txt +setenv = PYTHONPATH = {toxinidir}/src + +[testenv:coverage] +skip_install = True +commands = pytest tests/ --cov=src/onapsdk --cov-report term-missing --cov-report xml deps = -rtest-requirements.txt setenv = PYTHONPATH = {toxinidir}/src |