Commit e08dfdec by zhaihuitao

add install enevt

parent bca8ca65
......@@ -47,15 +47,15 @@ params_install = {
}
params_startup = {
# 'what': 'startup',
# 'what': 'startup',
'appid': "9b17c1568c3ce34599c5fd2778483ff9",
'context': {
'_deviceid': i,
'_imei': i,
'_androidid': i,
'_ip': IP,
'_timestamp': current_time_13,
"_lib_version": lv,
'_deviceid': "CFFEF74E-B6BF-BD16-E7F8-DFDBFF5FB6E1",
'_imei': "cffef74e-b6bf-bd16-e7f8-dfdbff5fb6e1",
'_androidid': "43214532142142",
'_ip': "119.57.108.226",
'_timestamp': int(round(time.time() * 1000)),
"_lib_version": "1.5.0",
# "_campaignid": 'default',
# "_deviceid": i,
# "_imei": i,
......
......@@ -7,9 +7,13 @@
"""
import unittest
import json
import requests
from common import randomUtil
from config.envcfg import prod
class startupTestCase(unittest.TestCase):
print(prod['events']['url'])
'''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
r = requests.post(url=prod['events']['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