pytest.ini

it is a config file for your project which the pytest framework uses.

here’s what pytest.ini would look like.

[pytest]
markers = register: register user page

in the above pytest.ini file, we are setting a marker called register.

it would be added like @pytest.mark.register and adding this in the pytest.ini file will ensure we don’t get any warnings.

Updated on