How to write pytest tests that run in 2 stages, each stage sequentially?

前端 未结 0 1028
日久生厌
日久生厌 2021-01-20 17:48

I\'m writing a bunch of tests in pytest, many of which take the form (pseudo-code):

def test1(self, ...):
    expected_events = do_thing1_that_should_generate         


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