pvpython/pvbatch should support pythons command-line argument
It would be nice if pvpython/pvbatch would support pythons command-line arguments. The reason is that the missing "-m"-flag prevents pvpython to work together with pytest.
Having pvpython/pvbatch work with pytest would be a really nice feature because of two reasons:
I am always adjusting/tweaking/extending my postprocessing-scripts. If pvpython would work together with pytest, then I could run nightly regression tests very easy.
On a different branch in my repo for the postprocessing-scripts I could just "follow" the nightly-versions from ParaView in a very automated way and run my testcases with the newest ParaView-Versions. That way I could directly start with a new ParaView-Version as soon as it is released.
I am somehow able to come arround that (by a 2-Step-Solution: Execute the postprocessing-scripts without pytest and then running a "compare-script" within pytest) but this gives some other trouble (for example pvpython crashing is not caught by pytest)