How to remove pytest –no-header –no-summary -q parameters in PyCharm?

Question:

I see the parameters for running a default-settings pytest configuration are as follows:

Launching pytest with arguments payments/tests/test_edd_countries.py --no-header --no-summary -q in payments/tests

I would like to remove all of those parameters specifically:

--no-header --no-summary -q 

How can that be achieved given the Runtime configuration in Edit Configurations does not even show them?

enter image description here

Asked By: WestCoastProjects

||

Answers:

The parameters --no-header --no-summary -q are added as an IDE setting (they aren’t set in Run Configurations).

They can be configured by going to File > Settings > Advanced Settings > Python and checking the option Pytest: do not add "--no-header --no-summary -q" as shown in the screenshot:

IDE settings

Answered By: bad_coder
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.