New issue 285: Allow funcargs to be used in conjunction with default argument 
values
https://bitbucket.org/hpk42/pytest/issue/285/allow-funcargs-to-be-used-in-conjunction

mears:

It appears that dependency injection only works if an argument is unresolved.  
It would be really nice if py.test would also support injecting arguments that 
have default values.  Basically, the funcarg lookup would consider all test 
method arguments, including arguments with default values.  If no funcarg 
exists for the argument with a default, it would be left unset with pytest 
invokes it.


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
_______________________________________________
pytest-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to