This is equivalent to directly applying the decorator to the two test functions. To apply marks at the module level, use the pytestmark global variable: import ...
確定! 回上一頁