Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
interfaceTest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
zhaihuitao
interfaceTest
Commits
a84bfaae
Commit
a84bfaae
authored
Aug 17, 2020
by
zhaihuitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add install enevt
parent
369b0e02
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
workspace.xml
.idea/workspace.xml
+0
-0
test_startup.py
testcase/android_events/test_startup.py
+8
-3
No files found.
.idea/workspace.xml
View file @
a84bfaae
This diff is collapsed.
Click to expand it.
testcase/android_events/test_startup.py
View file @
a84bfaae
...
...
@@ -9,9 +9,14 @@
import
unittest
import
json
import
requests
from
config.envcfg
import
prod
from
config.envcfg
import
prod
,
headers
from
config.prod.params
import
params_startup
class
startupTestCase
(
unittest
.
TestCase
):
def
teststartup
(
self
):
r
=
requests
.
post
(
url
=
prod
[
'events'
][
'url'
]
+
'startup'
,
data
=
s
,
headers
=
headers
,
timeout
=
10
)
\ No newline at end of file
r
=
requests
.
post
(
url
=
prod
[
'events'
][
'url'
]
+
'startup'
,
data
=
json
.
dumps
(
params_startup
),
headers
=
headers
,
timeout
=
10
)
print
(
r
.
text
)
if
__name__
==
"__main__"
:
unittest
.
main
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment