def test_otp(self):
     phone_number = '1234567890'
     token = get_token(self.asc_user_profile, self.asc_user_profile.phone_number)
     self.assertTrue(isinstance(token, int))
     self.assertTrue(validate_otp(self.asc_user, token, phone_number))
 def test_save_pass(self):
     phone_number = '1234567890'
     password='******'
     token = get_token(self.asc_user_profile, phone_number)
     self.assertTrue(isinstance(token, int))
     self.assertTrue(update_pass(token, password))