自己慢慢积累。
发布时间:2024-12-04 19:39:56
Pytest框架 —— setUp()和tearDown()函数_pytest setup teardown-CSDN博客1、setUp()和tearDown()函数介绍之前学过Unittest测试框架,知道前置setup()函数和后置teardown()函数非常好用,在每次用例开始前和结束后都去执行一次。当然还有更高级一点的setupClass()函数和teardownClass()函数,需配合classmethod装饰.........【阅读全文】
发布时间:2024-11-27 12:10:14
#!/usr/bin/env python# -*- coding:utf-8 -*-import uuid def get_short_id(): array = [ "0", "1", "2", "3", "4", "5","6", "7", "8", "9", .........【阅读全文】
发布时间:2024-11-13 14:28:17
转载自:https://www.jb51.net/article/232969.htm......【阅读全文】
发布时间:2024-11-13 11:59:38
execute_case 为主进程,通过 threading.Thread 创建子进程;当页面点击停止进程,就调用 stop_thread 方法,获取到进程名称和id 后,通过_async_raise 杀掉进程点击(此处)折叠或打开def _async_raise(tid, exctype): """raises the exception, .........【阅读全文】
发布时间:2023-02-23 15:01:00
在用户根目录下新建.pip目录,在.pip新建pip.conf点击(此处)折叠或打开cd ~ mkdir .pipcd .pipvim pip.conf内容:[global]index-url = http://mirrors.aliyun.com/pypi/simple/ #可以手.........【阅读全文】