Commit 405a38c8 by zhaihuitao

add install enevt

parent 83d47b26
......@@ -45,3 +45,38 @@ params_install = {
# 'ds': ds,
'who': 'lxx_test'
}
params_startup = {
# 'what': 'startup',
'appid': "9b17c1568c3ce34599c5fd2778483ff9",
'context': {
'_deviceid': i,
'_imei': i,
'_androidid': i,
'_ip': IP,
'_timestamp': current_time_13,
"_lib_version": lv,
# "_campaignid": 'default',
# "_deviceid": i,
# "_imei": i,
# # "_idfa": '75463565745634546',
# "_androidid": "424653325643",
# # "_imei2":"324323AAAA",
# # "_meid": "CCC324323",
# "_ip": IP,
# # "_ipv6": i,
# '_manufacturer': manufacturer,
# '_ryos': ryos,
# '_rydevicetype': rydevicetype,
# '_network': network,
# '_resolution': resolution,
# '_op': op,
# '_timestamp': current_time_13,
# '_oaid': '999b6e3e-a274-ed22-cebf-2b6dddfc29b7'
# # '_mac':"565354131606"
},
# 'when': when,
# 'ds': ds,
'who': 'lxx_test'
}
\ No newline at end of file
......@@ -4,4 +4,11 @@
@file: test_startup.py
@time: 2020/8/17 16:41
@desc:
"""
\ No newline at end of file
"""
import unittest
import requests
class startupTestCase(unittest.TestCase):
def teststartup(self):
r = requests.post(url=URL + 'startup', data=s, headers=headers, timeout=10)
\ No newline at end of file
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