import os
import time

import pytest


if __name__ == '__main__':
    pytest.main(['-vs'])
    time.sleep(3)
    os.system("allure generate ./temps -o ./report --clean")
    # pytest.main()  # 启动框架
    # os.system("allure generate ./temps/allure -o report --clean")  # 生成报告
    # os.system("allure open  report -p 0")  # 打开报告