specifing '-c path/pytest.ini' in pytest.main() only uses function pattern(python_functions) for one file
specifing '-c path/pytest.ini' in pytest.main() only uses function pattern(python_functions) for one file Question: I what to call pytest.main this way: pytest.main([‘-c’.’pathpytest.ini’, ‘teststestfile1::src_func1′,’teststestfile2::src_func2’]) so basically I want to have the pytest.ini test outside the tests folder and call a list of tests from different files on the tests folder. I have defined a pattern for the …