Skip to content
Snippets Groups Projects
Closed error when calling tests from scratch
  • View options
  • error when calling tests from scratch

  • View options
  • Closed Issue created by Ghost User

    Bug

    Error description

    Error when running tests from scratch in develop branch.

    Error message

    $ ./CI/run_pytest.sh
    ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
    __main__.py: error: unrecognized arguments: --html=report.html --self-contained-html
      inifile: None
      rootdir: /builds/esde/machine-learning/mlair
    cp: cannot stat 'report.html': No such file or directory
    cp: cannot stat 'report.html': No such file or directory

    First guess on error origin

    With !335 (merged), there have been changes in the requirements. Check again, if some test related packages have been removed.

      pytest==6.2.2
    - pytest-cov==2.11.1
    - pytest-html==3.1.1
      pytest-lazy-fixture==0.6.3
    - pytest-metadata==1.11.0
    - pytest-sugar==0.9.4

    Error origin

    Solution

    Edited by Ghost User

    Linked items 0

  • Link items together to show that they're related.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first