2018年3月5日

adb 命令记录

摘要: def getXY(self, driver): cmd = 'C:\\Users\\test\\Desktop\\test\\adt\\sdk\\platform-tools\\adb.exe -s {0} shell getevent'.format(self.desired_caps['dev 阅读全文

posted @ 2018-03-05 18:38 0o0o0o0o0o000 阅读(122) 评论(0) 推荐(0) 编辑

2018年3月2日

python unittest assert大全

摘要: assertEqual(a, b) a == b assertNotEqual(a, b) a != b assertTrue(x) bool(x) is True assertFalse(x) bool(x) is False assertIs(a, b) a is b 2.7 assertIsN 阅读全文

posted @ 2018-03-02 15:39 0o0o0o0o0o000 阅读(140) 评论(0) 推荐(0) 编辑

redis-windows 安装 以及 celery 的配置

摘要: windows版:https://github.com/MSOpenTech/redis/releases 下载 (压缩包或者安装包) 启动命令 redis-server.exe redis.windows.conf 当启动服务后, 另起一个dos窗口 redis-cli.exe 进入redis界面 阅读全文

posted @ 2018-03-02 15:38 0o0o0o0o0o000 阅读(136) 评论(0) 推荐(0) 编辑

2018年3月1日

python学习记录

摘要: super用法 通过类的继承 子类访问父类的方法是可以调用 阅读全文

posted @ 2018-03-01 19:25 0o0o0o0o0o000 阅读(155) 评论(0) 推荐(0) 编辑

2018年2月28日

nginx 配置 记录

摘要: nginx.conf user root; # 执行nginx 用户events { worker_connections 1024;}http { include /etc/nginx/mime.types; # 识别文件类型, 防止被转化为文本类型 解决css 无法生效的问题 default_t 阅读全文

posted @ 2018-02-28 12:33 0o0o0o0o0o000 阅读(69) 评论(0) 推荐(0) 编辑

2018年2月27日

appium 环境配置

摘要: 1.jdk1.6.0 (64位) 2.android-sdk_r24.3.4-windows 3.python:2.7(3.6也可以) D:\python和D:\python\Scripts,添加到环境变量path下 (安装目录以及目录下的script) 4.appium:1.4.13.1 # np 阅读全文

posted @ 2018-02-27 19:13 0o0o0o0o0o000 阅读(76) 评论(0) 推荐(0) 编辑

QTP 学习记录

摘要: update by 2018/2/27 阅读全文

posted @ 2018-02-27 16:31 0o0o0o0o0o000 阅读(61) 评论(0) 推荐(0) 编辑

monkey-学习记录

摘要: update by 2018/2/27 adb shell monkey -p <package name> --throttle 100 --pct-touch 20 --pct-trackball 20 --pct-motion 2 --ignore-crashes -s 23333333 -v 阅读全文

posted @ 2018-02-27 13:12 0o0o0o0o0o000 阅读(115) 评论(0) 推荐(0) 编辑

2018年2月26日

利用 SSH 完成 Git 与 GitHub 的绑定

摘要: 1 生成ssh key ssh-keygen -t rsa 然后连续三次回车 然后会生成id_rsa(密钥) 和 id_rsa.pub(公钥) Linux 默认在~/.ssh 2 添加 ssh key 登录GitHub 用户-settings-SSH AND GPG KEYs 点击new SSH k 阅读全文

posted @ 2018-02-26 14:51 0o0o0o0o0o000 阅读(136) 评论(0) 推荐(0) 编辑

python 模拟浏览器上传文件

摘要: import os, random, sys, requests from requests_toolbelt.multipart.encoder import MultipartEncoder url = 'http://127.0.0.1/sendmsg' argvstr = sys.argv[ 阅读全文

posted @ 2018-02-26 11:56 0o0o0o0o0o000 阅读(217) 评论(0) 推荐(0) 编辑

导航