pytest为fixture重命名
@pytest.fixture(name="renamezhang") def some(): return 1 def test_someA(renamezhang): assert True
本文来自博客园,作者:OTAKU_nicole,转载请注明原文链接:https://www.cnblogs.com/nicole-zhang/p/11390261.html
@pytest.fixture(name="renamezhang") def some(): return 1 def test_someA(renamezhang): assert True
本文来自博客园,作者:OTAKU_nicole,转载请注明原文链接:https://www.cnblogs.com/nicole-zhang/p/11390261.html