Commit 51987505 authored by liangfenglong's avatar liangfenglong

更新标题

parent 88c644d1
......@@ -20,7 +20,7 @@ class LiveSendMsg(LiveCase):
def test_live_sendmsg_visitor(self):
'''
游客进入直播间
游客发送弹幕
'''
rep = requests.post(self.url, data=self.data).json()
self.assertEqual(rep['error_code'], 70000, rep)
......@@ -29,7 +29,7 @@ class LiveSendMsg(LiveCase):
@require_login(settings.LIVE_WATCHER)
def test_live_sendmsg_user(self):
'''
app用户进入直播间
app用户发送弹幕
'''
rep = requests.post(self.url, data=self.data).json()
self.assertEqual(rep['error'], 1, rep)
......@@ -38,7 +38,7 @@ class LiveSendMsg(LiveCase):
@require_login(settings.LIVE_USER)
def test_live_sendmsg_author(self):
'''
主播进入直播间
主播发送弹幕
'''
rep = requests.post(self.url, self.data).json()
self.assertEqual(rep['error'], 0, rep)
......
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