Commit 9d73b4e0 authored by aha's avatar aha

merge common_dev

parent 60844b74
...@@ -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
...@@ -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"
......
...@@ -2,6 +2,6 @@ m_get_channel_status: ...@@ -2,6 +2,6 @@ m_get_channel_status:
#查看直播状态 #查看直播状态
- -
case: "查看直播状态" case: "查看直播状态"
channel_id: "745" channel_id: "739"
version: "7.45.0" version: "7.45.0"
assert : True assert : True
\ 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