def test_set_cash(self, action):
     uid = action[0]
     token = action[1]
     result = ApiUserPageModule().api_set_cash(uid, token)
     print(result.json())
     assert 200 == result.json()['ret']
 def test_get_user_account_list(self, action):
     uid = action[0]
     token = action[1]
     result = ApiUserPageModule().api_get_user_account_list(uid, token)
     print(result.json())
     assert 200 == result.json()['ret']
 def test_update_pass(self, oldpass, pass1, pass2, action):
     uid = action[0]
     token = action[1]
     result = ApiUserPageModule().api_update_pass(uid, token, oldpass, pass1, pass2)
     print(result.json())
     assert 200 == result.json()['ret']
 def test_update_fields(self, action):
     uid = action[0]
     token = action[1]
     result = ApiUserPageModule().api_update_fields(uid, token)
     print(result.json())
     assert 200 == result.json()['ret']
 def test_gift_details(self, action):
     uid = action[0]
     token = action[1]
     result = ApiUserPageModule().api_gift_details(uid, token)
     print(result.json())
     assert 200 == result.json()['ret']
 def test_with_drawals_record(self, action):
     uid = action[0]
     token = action[1]
     result = ApiUserPageModule().api_with_drawals_record(uid, token)
     print(result.json())
     assert 200 == result.json()['ret']