def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('创建购买时长的接口(根据用户时长)')
예제 #2
0
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('编辑用户信息接口')
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('编辑指定会议的详细信息接口(只允许创建人修改未结束的会议)')
예제 #4
0
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('音视频服务器调用循环通知接口')
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('任务界面查询需要关联的会议接口')
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('删除指定的会议记录接口(只能删除自己创建的预约中的会议)')
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('群聊文本消息发送接口(不支持图片)')
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('获取指定状态的任务列表接口')
예제 #9
0
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('标记删除团队接口(回收团队会议室号)')
예제 #10
0
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('查询用户团队及团队成员列表接口')
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('根据会议状态的查询和我相关的会议接口')
예제 #12
0
 def setUp(self):
     global logger
     logger = Log()
     global start_time
     start_time = now_time()
     logger.warning(start_log)
     logger.info('结束指定的会议记录接口(只能结束自己创建的进行中的会议)')
예제 #13
0
def assert_equal(result, expect):
    try:
        assert str(result) == str(expect)
        global logger
        logger = Log()
        logger.info('断言结果:  ' + str(result) + ' == ' + str(expect))
    except AssertionError:
        s = traceback.format_exc()
        logger.info(s)
        logger.error('断言结果:  ' + str(result) + ' != ' + str(expect))
        raise