Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
Eclipse Foundation
paho.mqtt.python
提交
484c04e8
P
paho.mqtt.python
项目概览
镜像
/
Eclipse Foundation
/
paho.mqtt.python
11 个月 前同步成功
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
paho.mqtt.python
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
484c04e8
编写于
4月 09, 2016
作者:
R
Roger A. Light
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Minor test fixes identified by codacy.
Change-Id: Idc1c050517dcb74c148a2c7419d981a3f1c61ec9
上级
5c66fb1c
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
0 addition
and
27 deletion
+0
-27
test/lib/01-con-discon-success-mqtt311.py
test/lib/01-con-discon-success-mqtt311.py
+0
-1
test/lib/01-con-discon-success.py
test/lib/01-con-discon-success.py
+0
-1
test/lib/01-no-clean-session.py
test/lib/01-no-clean-session.py
+0
-1
test/lib/01-unpwd-set.py
test/lib/01-unpwd-set.py
+0
-1
test/lib/01-will-set.py
test/lib/01-will-set.py
+0
-1
test/lib/01-will-unpwd-set.py
test/lib/01-will-unpwd-set.py
+0
-1
test/lib/02-subscribe-qos0.py
test/lib/02-subscribe-qos0.py
+0
-1
test/lib/02-subscribe-qos1.py
test/lib/02-subscribe-qos1.py
+0
-1
test/lib/02-subscribe-qos2.py
test/lib/02-subscribe-qos2.py
+0
-1
test/lib/02-unsubscribe.py
test/lib/02-unsubscribe.py
+0
-1
test/lib/03-publish-c2b-qos1-disconnect.py
test/lib/03-publish-c2b-qos1-disconnect.py
+0
-1
test/lib/03-publish-c2b-qos1-timeout.py
test/lib/03-publish-c2b-qos1-timeout.py
+0
-1
test/lib/03-publish-c2b-qos2-disconnect.py
test/lib/03-publish-c2b-qos2-disconnect.py
+0
-1
test/lib/03-publish-c2b-qos2-timeout.py
test/lib/03-publish-c2b-qos2-timeout.py
+0
-1
test/lib/03-publish-qos0-no-payload.py
test/lib/03-publish-qos0-no-payload.py
+0
-1
test/lib/03-publish-qos0.py
test/lib/03-publish-qos0.py
+0
-1
test/lib/04-retain-qos0.py
test/lib/04-retain-qos0.py
+0
-1
test/lib/08-ssl-bad-cacert.py
test/lib/08-ssl-bad-cacert.py
+0
-5
test/lib/08-ssl-connect-cert-auth.py
test/lib/08-ssl-connect-cert-auth.py
+0
-1
test/lib/08-ssl-connect-no-auth.py
test/lib/08-ssl-connect-no-auth.py
+0
-1
test/lib/08-ssl-fake-cacert.py
test/lib/08-ssl-fake-cacert.py
+0
-2
test/lib/09-util-topic-matching.py
test/lib/09-util-topic-matching.py
+0
-1
未找到文件。
test/lib/01-con-discon-success-mqtt311.py
浏览文件 @
484c04e8
...
...
@@ -13,7 +13,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/01-con-discon-success.py
浏览文件 @
484c04e8
...
...
@@ -13,7 +13,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/01-no-clean-session.py
浏览文件 @
484c04e8
...
...
@@ -10,7 +10,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/01-unpwd-set.py
浏览文件 @
484c04e8
...
...
@@ -10,7 +10,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/01-will-set.py
浏览文件 @
484c04e8
...
...
@@ -12,7 +12,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/01-will-unpwd-set.py
浏览文件 @
484c04e8
...
...
@@ -12,7 +12,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/02-subscribe-qos0.py
浏览文件 @
484c04e8
...
...
@@ -17,7 +17,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/02-subscribe-qos1.py
浏览文件 @
484c04e8
...
...
@@ -17,7 +17,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/02-subscribe-qos2.py
浏览文件 @
484c04e8
...
...
@@ -17,7 +17,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/02-unsubscribe.py
浏览文件 @
484c04e8
...
...
@@ -7,7 +7,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/03-publish-c2b-qos1-disconnect.py
浏览文件 @
484c04e8
...
...
@@ -7,7 +7,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/03-publish-c2b-qos1-timeout.py
浏览文件 @
484c04e8
...
...
@@ -21,7 +21,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/03-publish-c2b-qos2-disconnect.py
浏览文件 @
484c04e8
...
...
@@ -7,7 +7,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/03-publish-c2b-qos2-timeout.py
浏览文件 @
484c04e8
...
...
@@ -25,7 +25,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/03-publish-qos0-no-payload.py
浏览文件 @
484c04e8
...
...
@@ -15,7 +15,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/03-publish-qos0.py
浏览文件 @
484c04e8
...
...
@@ -15,7 +15,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/04-retain-qos0.py
浏览文件 @
484c04e8
...
...
@@ -7,7 +7,6 @@ import os
import
subprocess
import
socket
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/08-ssl-bad-cacert.py
浏览文件 @
484c04e8
...
...
@@ -3,18 +3,13 @@
import
inspect
import
os
import
subprocess
import
socket
import
ssl
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
if
cmd_subfolder
not
in
sys
.
path
:
sys
.
path
.
insert
(
0
,
cmd_subfolder
)
import
paho_test
if
sys
.
version
<
'2.7'
:
print
(
"WARNING: SSL not supported on Python 2.6"
)
exit
(
0
)
...
...
test/lib/08-ssl-connect-cert-auth.py
浏览文件 @
484c04e8
...
...
@@ -16,7 +16,6 @@ import subprocess
import
socket
import
ssl
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/08-ssl-connect-no-auth.py
浏览文件 @
484c04e8
...
...
@@ -15,7 +15,6 @@ import subprocess
import
socket
import
ssl
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
test/lib/08-ssl-fake-cacert.py
浏览文件 @
484c04e8
...
...
@@ -13,8 +13,6 @@ cmd_subfolder = os.path.realpath(os.path.abspath(os.path.join(os.path.split(insp
if
cmd_subfolder
not
in
sys
.
path
:
sys
.
path
.
insert
(
0
,
cmd_subfolder
)
import
paho_test
if
sys
.
version
<
'2.7'
:
print
(
"WARNING: SSL not supported on Python 2.6"
)
exit
(
0
)
...
...
test/lib/09-util-topic-matching.py
浏览文件 @
484c04e8
...
...
@@ -4,7 +4,6 @@ import inspect
import
os
import
subprocess
import
sys
import
time
# From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
cmd_subfolder
=
os
.
path
.
realpath
(
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
split
(
inspect
.
getfile
(
inspect
.
currentframe
()
))[
0
],
".."
)))
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录