Uploaded image for project: 'Service Management and Orchestration'
  1. Service Management and Orchestration
  2. SMO-111

Unbale to run tox -e coverage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sahilkoli sahil koli
            santanude santanu de
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: