Yes, if you use the '-c path/pytest.ini' option in pytest.main(), it will apply the function pattern for only the file specified in the 'path' argument. The pytest.ini file provides configuration options for pytest, including specifying certain markers or patterns to be used for selecting specific tests. By specifying the '-c path/pytest.ini' option, pytest will look for the configuration file at the specified path and apply any settings or options specified in it. This can include specifying which functions to include or exclude from testing using the 'python_functions' setting.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-31 16:49:31 +0000
Seen: 7 times
Last updated: May 31 '23
How can popen() be used to direct streaming data to TAR?
In Python, can a string be utilized to retrieve a dataframe that has the same name as the string?
What is the method for merging field value and text into a singular line for display?
What is the method for programmatic access to a time series?