Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
AutoApiTest
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
business
AutoApiTest
Commits
e982382b
Commit
e982382b
authored
Jan 04, 2021
by
liangfenglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
30cd0e02
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
livecase.py
testCase/live/livecase.py
+4
-1
No files found.
testCase/live/livecase.py
View file @
e982382b
...
...
@@ -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
}
...
...
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