-
-
Notifications
You must be signed in to change notification settings - Fork 533
cmd simplify, use pytest stderr/stdout management, and use regex instead of fnmatch #711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #711 +/- ##
==========================================
+ Coverage 94.6% 94.61% +0.01%
==========================================
Files 11 11
Lines 2426 2377 -49
==========================================
- Hits 2295 2249 -46
+ Misses 131 128 -3
Continue to review full report at Codecov.
|
tests/conftest.py
Outdated
@@ -1 +1,2 @@ | |||
# noinspection PyUnresolvedReferences | |||
from tox._pytestplugin import * # noqa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please replace this with pytest_plugins = ['tox._pytestplugin']
@@ -34,10 +34,12 @@ def prepare(args): | |||
return config | |||
|
|||
|
|||
def main(args=None): | |||
def main(args): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change breaks the tox
startup executable set up by setuptools. When that startup executable runs tox
's main()
function (and this is the one used), it does not pass it any arguments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gaborbernat - And we might want to add an external process test making sure those setuptools installed starter executables work correctly in the future?
(','.join(["'%s'" % m for m in venv.envconfig.missing_subs]))) | ||
"unresolvable substitution(s): %s. " | ||
"Environment variables are missing or defined recursively." % | ||
(','.join(["'%s'" % m for m in venv.envconfig.missing_subs]))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we do an extra level of indentation is such cases?
this is #660, but for some reason that did not get merged 🙅