question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tests fail to run at maint/8.0.x

See original GitHub issue

Check out the code at maint/8.0.x, and the tests fail to run:

cheroot maint/8.0.x $ tox -r                                                                                                                                              
python recreate: /Users/jaraco/code/public/cherrypy/cheroot/.tox/python
python installdeps: setuptools>=31.0.1
python develop-inst: /Users/jaraco/code/public/cherrypy/cheroot
python installed: apipkg==1.5,attrs==19.3.0,certifi==2020.4.5.1,cffi==1.14.0,chardet==3.0.4,-e git+gh://cherrypy/cheroot@679bc266717de634a4ca8877a70deff12920c57e#egg=cheroot,codecov==2.0.15,colorama==0.4.3,coverage==4.5.3,cryptography==2.9,docopt==0.6.2,execnet==1.7.1,idna==2.9,jaraco.functools==3.0.0,more-itertools==8.2.0,packaging==20.3,pathtools==0.1.2,pluggy==0.13.1,py==1.8.1,pycparser==2.20,pyOpenSSL==19.1.0,pyparsing==2.4.7,pytest==5.4.1,pytest-cov==2.7.1,pytest-forked==1.1.3,pytest-mock==1.10.4,pytest-sugar==0.9.2,pytest-testmon==1.0.2,pytest-watch==4.2.0,pytest-xdist==1.31.0,requests==2.23.0,requests-unixsocket==0.2.0,six==1.14.0,termcolor==1.1.0,trustme==0.6.0,urllib3==1.25.8,watchdog==0.10.2,wcwidth==0.1.9
python run-test-pre: PYTHONHASHSEED='1827473805'
python run-test: commands[0] | pytest --testmon-off
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --testmon-off
  inifile: /Users/jaraco/code/public/cherrypy/cheroot/pytest.ini
  rootdir: /Users/jaraco/code/public/cherrypy/cheroot

ERROR: InvocationError for command /Users/jaraco/code/public/cherrypy/cheroot/.tox/python/bin/pytest --testmon-off (exited with code 4)
________________________________________________________________________________ summary _________________________________________________________________________________
ERROR:   python: commands failed

I don’t know what --testmon-off is, but searching for that error, I found no results on a web search.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jaracocommented, Apr 11, 2020

Thanks, so awesome! This will really help in troubleshooting issues with #277.

0reactions
webknjazcommented, Apr 11, 2020

Alright, it’s green now. I’ve also added a cron job for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit tests fail in Test Explorer but runs without any problem in ...
I have about 60 unit tests which runs without any problems in the 'live unit testing' view but always fails in the 'test...
Read more >
Tests not running in Test Explorer - visual studio
[Main Menu] -> Test -> Test Settings -> Default Processor Architecture -> X64. I found that when these didn't match my test project...
Read more >
Run unit tests with Test Explorer - Visual Studio (Windows)
As you run, write, and rerun your tests, Test Explorer displays the results in groups of Failed Tests, Passed Tests, Skipped Tests and...
Read more >
unittest — Unit testing framework — Python 3.11.1 ...
The unittest module can be used from the command line to run tests from modules, ... Output is echoed normally on test fail...
Read more >
Create a Test Run - Salesforce Help
Set up a test run in the Developer Console to execute the test methods in one or more ... A value of 0...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found