Pytest - Yield output from fixture function after teardown

后端 未结 0 698
别跟我提以往
别跟我提以往 2020-11-30 13:04

I am writing a function for setup and tear down using Pytest fixture

 @pytest.fixture
def fixture_fun():
    #setup 
    yield output #yield the output from s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题