Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pytest
- class TestSetting:
- @staticmethod
- def func_fixture():
- return 'fail'
- @pytest.mark.skipif('TestSetting.func_fixture() == "fail"')
- def test_setting_value(self):
- print("Hello I am in testcase")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement