Pytest how to call a function with fixture argument directly

后端 未结 0 409
南旧
南旧 2021-01-03 15:39

I am building a test suite for a web app. I am using fixtures as below:

@pytest.fixture(scope=\'module\')
def driver(module, headless=True):
    opts = webdri         


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