Commit 4432c839 by zhaihuitao

update

parent 149f4434
......@@ -20,6 +20,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="d0064643-2990-4ed3-bfb0-875849b30f4e" name="Default" comment="update">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcase/game/game_event.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/game/game_event.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcase/run_all_cases.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/run_all_cases.py" afterDir="false" />
</list>
......@@ -444,13 +445,6 @@
<updated>1596505503233</updated>
<workItem from="1596786333197" duration="228000" />
</task>
<task id="LOCAL-00036" summary="update">
<created>1598259165042</created>
<option name="number" value="00036" />
<option name="presentableId" value="LOCAL-00036" />
<option name="project" value="LOCAL" />
<updated>1598259165042</updated>
</task>
<task id="LOCAL-00037" summary="update">
<created>1598324138933</created>
<option name="number" value="00037" />
......@@ -787,7 +781,14 @@
<option name="project" value="LOCAL" />
<updated>1608118787886</updated>
</task>
<option name="localTasksCounter" value="85" />
<task id="LOCAL-00085" summary="update">
<created>1608119153721</created>
<option name="number" value="00085" />
<option name="presentableId" value="LOCAL-00085" />
<option name="project" value="LOCAL" />
<updated>1608119153721</updated>
</task>
<option name="localTasksCounter" value="86" />
<servers />
</component>
<component name="TodoView">
......@@ -855,10 +856,10 @@
</state>
<state x="149" y="25" width="982" height="728" key="SettingsEditor/0.0.1280.800@0.0.1280.800" timestamp="1608117997488" />
<state x="149" y="25" width="982" height="716" key="SettingsEditor/0.25.1280.716@0.25.1280.716" timestamp="1606734406260" />
<state x="240" y="106" key="Vcs.Push.Dialog.v2" timestamp="1608118815830">
<state x="240" y="106" key="Vcs.Push.Dialog.v2" timestamp="1608119155711">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state x="240" y="106" key="Vcs.Push.Dialog.v2/0.0.1280.800@0.0.1280.800" timestamp="1608118815830" />
<state x="240" y="106" key="Vcs.Push.Dialog.v2/0.0.1280.800@0.0.1280.800" timestamp="1608119155711" />
<state x="240" y="120" key="Vcs.Push.Dialog.v2/0.25.1280.716@0.25.1280.716" timestamp="1606734542701" />
</component>
</project>
\ No newline at end of file
import os
import sys
import importlib
importlib.reload(sys)
import time
import json
from testcase.game.game_param import allevent
curPath = os.path.abspath(os.path.dirname(__file__))
'''curPath = os.path.abspath(os.path.dirname(__file__))
rootPath = os.path.split(curPath)[0]
sys.path.append(rootPath)
sys.path.append(rootPath)'''
base_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(base_dir)
lst = []
newList = ['195713813811']
appkey = 'ff2c15d87db8fb16e6d0e82d8f2b4a6d'
event = 'exception'
i = json.load(open('imei.json', 'r+'))['imei'] + 1
json.dump({"imei": i}, open('imei.json', 'w+'), sort_keys=True, indent=4)
print(i)
......@@ -29,9 +31,9 @@ print(i)
# # time.sleep(2)
# allevent().event_economy(i,appkey,c)
# for _ in range(1):
# i = ''.join(str(random.choice(range(10))) for _ in range(12))
# c = ''.join(str(random.choice(range(10))) for _ in range(12))
# for _ in range(1):
# i = ''.join(str(random.choice(range(10))) for _ in range(12))
# c = ''.join(str(random.choice(range(10))) for _ in range(12))
allevent().event_install(i, appkey)
time.sleep(2)
allevent().event_register(i, appkey)
......@@ -44,6 +46,3 @@ time.sleep(2)
# allevent().event_economy(i,appkey,c)
lst.append(i)
print(lst)
......@@ -31,7 +31,6 @@ rootPath = os.path.split(curPath)[0]
sys.path.append(rootPath)
"""添加用例地址"""
case_path = os.path.join(os.getcwd())
report_path = r"/Users/zhaihuitao/PycharmProjects/TKIO/interfaceTest/report/result.html"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment