From a772159cbbe5a267e623ec2c4a56b13cc96f3b09 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 14 五月 2019 20:46:06 +0800
Subject: [PATCH] 860312 压力测试 gm修改

---
 Tool/Robot/framework/frame.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Tool/Robot/framework/frame.py b/Tool/Robot/framework/frame.py
index c6f7623..43aad06 100644
--- a/Tool/Robot/framework/frame.py
+++ b/Tool/Robot/framework/frame.py
@@ -173,7 +173,7 @@
             # 数据库取出为unicode
             clientMac = "abc"
             
-            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]))
+            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]), str(result['AppID']))
             if account not in self.tokenList:
                 self.tokenList.append(account)
             
@@ -189,6 +189,9 @@
     def RemoveToken(self, value):
         self.tokenList.remove(value)
     
+    def ClearToken(self):
+        self.tokenList = []
+    
 class WorkerThread(Thread):
     def __init__(self, mgr, dbRobot ):
         Thread.__init__(self, None, None, "WorkerThreadPy")

--
Gitblit v1.8.0