Skip to content

Commit 3b6bf5a

Browse files
committed
* 更新test文件
1 parent 4701083 commit 3b6bf5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
def test_adapter():
1515
index = 0
1616
pyldk = PyLdk(JadeLog=JadeLog)
17-
status,feature_id = pyldk.login()
18-
while status:
17+
haspStruct,feature_id,login_status = pyldk.login()
18+
while login_status:
1919
if pyldk.get_ldk(feature_id) is False:
2020
break
2121
else:
@@ -37,4 +37,4 @@ def test_login_multi_ldk():
3737

3838

3939
if __name__ == '__main__':
40-
test_login_multi_ldk()
40+
test_adapter()

0 commit comments

Comments
 (0)