Skip to content
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

Provide config.orig_args ? #5106

Closed
blueyed opened this issue Apr 13, 2019 · 1 comment
Closed

Provide config.orig_args ? #5106

blueyed opened this issue Apr 13, 2019 · 1 comment
Labels
topic: config related to config handling, argument parsing and config file type: enhancement new feature or API change, should be merged into features branch

Comments

@blueyed
Copy link
Contributor

blueyed commented Apr 13, 2019

There is _orig_args already, it would just need to made public - and maybe get a better name, but I think it is fine.

I'd like to use it with pytest-testmon to detect if any arguments were given.

config.args contains the value from testpaths etc then already, and parsed options are removed (e.g. -x).

@blueyed blueyed added topic: config related to config handling, argument parsing and config file type: enhancement new feature or API change, should be merged into features branch labels Apr 13, 2019
@blueyed
Copy link
Contributor Author

blueyed commented Oct 21, 2019

Fixed by invocation_args I guess.

@blueyed blueyed closed this as completed Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: config related to config handling, argument parsing and config file type: enhancement new feature or API change, should be merged into features branch
Projects
None yet
Development

No branches or pull requests

1 participant