# ============LICENSE_START=======================================================
-# Copyright (C) 2019 Nordix Foundation.
+# Copyright (C) 2019-2023 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ============LICENSE_END=========================================================
[tox]
-envlist = py36,py37,flake8
+envlist = flake8,py39,py310
skip_missing_interpreters = true
[testenv]
pytest
coverage
pytest-cov
+ responses==0.10.7
+ parameterized==0.7.4
setenv =
PYTHONPATH={toxinidir}/pmsh_service:{toxinidir}/pmsh_service/mod:{toxinidir}/tests
commands=
- pytest --junitxml xunit-results.xml --cov pmsh_service --cov-report xml --cov-report term tests --verbose --cov-fail-under=0
+ pytest --junitxml xunit-results.xml --cov pmsh_service --cov-report xml --cov-report term-missing \
+ tests --verbose --cov-fail-under=70
[testenv:flake8]
basepython = python3
[flake8]
max-line-length=100
+ignore = E999