Closed rgildein closed 2 years ago
The idea came from pytest_cmdline_preparse hook.
@r-f-g is this one ready for being merged/published at 0.15.0
I too would love to know why this did not work before and does work now. But it appears to be ok?
dunno, but i'd love to have it merged, as i have a huge PR on pytest-operator upcoming @r-f-g any thing else here?
I'm stumped as to why this resolves the issue, unless calling
parser._getparser()
too early is somehow cheating something.
This is due to the try_argcomplete
function, which needs to be run before parser._getparser()
.
@addyess I think it's ready and we can merge it.
Moved
no-deploy
parameter check from pytest_addoption function to pytest_load_initial_conftests.test_run: https://pastebin.ubuntu.com/p/4ypnsdg79p/
fixes: #65