Advertisement
Guest User

Untitled

a guest
Aug 9th, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. import pytest
  2.  
  3.  
  4. class TestSetting:
  5.     @staticmethod
  6.     def func_fixture():
  7.         return 'fail'
  8.  
  9.     @pytest.mark.skipif('TestSetting.func_fixture() == "fail"')
  10.     def test_setting_value(self):
  11.         print("Hello I am in testcase")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement