pytest.fixture和普通函数调用

普通函数嗲用
def one(): a
="aaaaaaaaaaa" return a def test_one(): s=one() print (s) test_one()


pytest函数之间调用 @pytest.fixture def one(): a
="aaaaaaaaaaa" return a def test_one(one): s=one print (s)
原文地址:https://www.cnblogs.com/xueli/p/12029909.html