import pytest. import allure. import os. @pytest.fixture(scope="function"). def login():. print("登录"). yield. print("登录完成").
確定! 回上一頁