Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
backend_auto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
邓莹莹
backend_auto
Commits
9d73b4e0
Commit
9d73b4e0
authored
Jul 16, 2021
by
aha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge common_dev
parent
60844b74
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
test_m_get_channel_status.py
...backend_case/janus_live_case/test_m_get_channel_status.py
+3
-0
content_v7.yaml
test_backend_data/janus_data/content_v7.yaml
+1
-1
m_get_channel_status.yaml
test_backend_data/janus_live_data/m_get_channel_status.yaml
+2
-1
No files found.
test_backend_case/janus_live_case/test_m_get_channel_status.py
View file @
9d73b4e0
...
@@ -2,6 +2,7 @@ import pytest
...
@@ -2,6 +2,7 @@ import pytest
import
path_setting
import
path_setting
from
all_backend_api.janus_live_request
import
live_request
from
all_backend_api.janus_live_request
import
live_request
from
all_backend_api.live_request
import
living_request
from
ids_list
import
get_ids
from
ids_list
import
get_ids
from
in_common.base_request
import
BaseRequest
from
in_common.base_request
import
BaseRequest
...
@@ -13,6 +14,7 @@ class TestMGetChannelStatus:
...
@@ -13,6 +14,7 @@ class TestMGetChannelStatus:
@pytest.mark.parametrize
(
"param"
,
m_get_channel_status_data
,
ids
=
m_get_channel_status_case
)
@pytest.mark.parametrize
(
"param"
,
m_get_channel_status_data
,
ids
=
m_get_channel_status_case
)
def
test_m_get_channel_status_data
(
self
,
param
):
def
test_m_get_channel_status_data
(
self
,
param
):
print
(
"查看直播状态啦~~~"
)
print
(
"查看直播状态啦~~~"
)
living_request
()
.
pushlive_info
(
"小冤家"
,
"2021/04/22/1003/cef471cff5e6"
,
""
,
"1"
,
"1"
,
"1"
)
r
=
live_request
()
.
m_get_channel_status
(
param
[
"channel_id"
],
param
[
"version"
])
r
=
live_request
()
.
m_get_channel_status
(
param
[
"channel_id"
],
param
[
"version"
])
if
r
[
"error"
]
==
0
:
if
r
[
"error"
]
==
0
:
assert
r
[
"data"
][
"status"
]
==
param
[
"assert"
]
assert
r
[
"data"
][
"status"
]
==
param
[
"assert"
]
\ No newline at end of file
test_backend_data/janus_data/content_v7.yaml
View file @
9d73b4e0
...
@@ -62,7 +62,7 @@ content_v7:
...
@@ -62,7 +62,7 @@ content_v7:
-
-
#搜索结果页-综合tab---搜索词为医院全称或简称,搜索结果页医院穿插置顶展示
#搜索结果页-综合tab---搜索词为医院全称或简称,搜索结果页医院穿插置顶展示
case
:
"
搜索结果页-综合tab---搜索词为医院全称或简称,搜索结果页医院穿插置顶展示"
case
:
"
搜索结果页-综合tab---搜索词为医院全称或简称,搜索结果页医院穿插置顶展示"
query
:
"
北京
凯润婷
"
query
:
"
北京
画美
"
device_id
:
"
1321222222222222135"
device_id
:
"
1321222222222222135"
current_city_id
:
"
beijing"
current_city_id
:
"
beijing"
version
:
"
742.2"
version
:
"
742.2"
...
...
test_backend_data/janus_live_data/m_get_channel_status.yaml
View file @
9d73b4e0
...
@@ -2,6 +2,6 @@ m_get_channel_status:
...
@@ -2,6 +2,6 @@ m_get_channel_status:
#查看直播状态
#查看直播状态
-
-
case
:
"
查看直播状态"
case
:
"
查看直播状态"
channel_id
:
"
7
45
"
channel_id
:
"
7
39
"
version
:
"
7.45.0"
version
:
"
7.45.0"
assert
:
True
assert
:
True
\ 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