Example #1
0
 def test_gift_05(self):
     '''业务-角色-房管'''
     self.user = self.create_user()
     MoneyClass.set_money(self.user, 1)
     User.set_fg(cid, self.user)
     self.exp_res = dict(code=200,
                         status=True,
                         data=dict(extend=dict(is_fg='1')))
Example #2
0
 def test_11(self):
     '''业务-角色功能判断-房管'''
     self.exp_res = {'code': 200, 'data': {'extend': {'is_fg': '1'}}}
     self.user = self.create_user()
     User.set_fg(cid, self.user)