普通函数嗲用
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)
普通函数嗲用
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)