-
Bug
-
Resolution: Done
-
Medium
-
None
We are getting error when we execute "tox -e coverage" command. Error is as below:
coverage installed: attrs==22.1.0,coverage==6.5.0,exceptiongroup==1.0.4,iniconfig==1.1.1,packaging==21.3,pluggy==1.0.0,pyparsing==3.0.9,pytest==7.2.0,tomli==2.0.1
coverage run-test-pre: PYTHONHASHSEED='4118940813'
coverage run-test: commands[0] | pytest --cov=o-ran-sc_smo-ves --cov-report=xml --cov-config=tox.ini --cov-branch
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov=o-ran-sc_smo-ves --cov-report=xml --cov-config=tox.ini --cov-branch
inifile: None
rootdir: /home/ves-dev/ves-latest/master/ves
ERROR: InvocationError for command /home/ves-dev/ves-latest/master/ves/.tox/coverage/bin/pytest --cov=o-ran-sc_smo-ves --cov-report=xml --cov-config=tox.ini --cov-branch (exited with code 4)
__________________________________________________________________ summary ___________________________________________________________________
ERROR: coverage: commands failed