Exemplo n.º 1
0
 def test_app_position_query_detail_05(self):
     """测试查询位置为空"""
     result = app_position_query_detail("")
     self.assertIn('"code":302', result.text)
Exemplo n.º 2
0
 def test_app_position_query_detail_04(self):
     """测试查询位置错误或不存在"""
     result = app_position_query_detail(positionId_wrong)
     self.assertIn('"code":710', result.text)
Exemplo n.º 3
0
 def test_app_position_query_detail_02(self):
     """测试查询room位置详细信息"""
     result = app_position_query_detail(positionId_room)
     self.assertIn('"code":0', result.text)
Exemplo n.º 4
0
 def test_app_position_query_detail_03(self):
     """测试查询其他用户下的位置"""
     result = app_position_query_detail(positionId_Jenny)
     self.assertIn('"code":710', result.text)
Exemplo n.º 5
0
 def test_app_position_query_detail_01(self):
     """测试APP定制位置详情查询"""
     result = app_position_query_detail(positionId_Gary)
     self.assertIn('"code":0', result.text)