Commit e982382b authored by liangfenglong's avatar liangfenglong

更新

parent 30cd0e02
......@@ -33,7 +33,7 @@ class LiveCase(unittest.TestCase):
url = settings.BACKEND_ADMIN + uri
params = settings.GENGMEI_PARAMS.update(
{
'notice': '哈哈哈哈',
'notice': '测试',
'tag_id': 3161,
'title': '测试',
'cover_url': '2021/01/04/1506/ba72d863e638',
......@@ -51,6 +51,9 @@ class LiveCase(unittest.TestCase):
关闭直播间
:return:
'''
if cls.live_id == None:
print('没有成功创建直播间!')
return
uri = '/api/live/finish'
url = settings.BACKEND_ADMIN + uri
data = {'channel_id': cls.live_id}
......
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