开发者社区 问答 正文

python中@pytest.fixture函数中的function表示什么?

python中@pytest.fixture函数中的function表示什么?

展开
收起
游客k7rjnht6hbtk6 2021-12-04 14:57:17 280 分享 版权
1 条回答
写回答
取消 提交回答
  • python中@pytest.fixture函数中的function所能表示的是fixture函数在测试方法执行前和执行后执行一次的作用。

    2021-12-04 14:57:31
    赞同 展开评论