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
3ca0228c
Commit
3ca0228c
authored
4 years ago
by
zhaihuitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
749f3cee
master
…
dev2021
No related merge requests found
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
workspace.xml
.idea/workspace.xml
+0
-0
mailUtil.py
common/mailUtil.py
+8
-0
test_gettime.py
testcase/android_events/test_gettime.py
+4
-6
No files found.
.idea/workspace.xml
View file @
3ca0228c
This diff is collapsed.
Click to expand it.
common/mailUtil.py
0 → 100644
View file @
3ca0228c
# -*- coding: utf-8 -*-
"""
@author:zhaiht
@file: mailUtil.py
@time: 2020/10/29 19:26
@desc:
"""
\ No newline at end of file
This diff is collapsed.
Click to expand it.
testcase/android_events/test_gettime.py
View file @
3ca0228c
...
...
@@ -13,14 +13,11 @@ import unittest
from
config.envcfg
import
prod_event_url
,
event_interface
,
headers
from
config.prod.params
import
params_install
class
gettimeTestCase
(
unittest
.
TestCase
):
def
gettime
(
self
):
# r = requests.get(url=prod_event_url+'/receive/gettime', headers=headers)
r
=
requests
.
get
(
'http://log.trackingio.com:80/receive/gettime'
)
print
(
r
.
text
)
print
(
r
.
url
)
# self.assertEqual(r.status_code, 200, msg="执行失败,请检查")
r
=
requests
.
get
(
'http://log.trackingio.com/receive/gettime'
)
print
(
r
.
status_code
)
if
__name__
==
"__main__"
:
unittest
.
main
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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