Example #1
0
 def create_cpp_token():
     _ret_c = lib.cw__test_helpers_create_cpp_token()
     CPyException.toPyCheckAndRaise(_ret_c)
     _ret = UserTokenHelper.toPy(_ret_c)
     assert _ret is not None
     return _ret
Example #2
0
 def create_cpp_token():
     _ret_c = lib.cw__test_helpers_create_cpp_token()
     CPyException.toPyCheckAndRaise(_ret_c)
     _ret = UserTokenHelper.toPy(_ret_c)
     assert _ret is not None
     return _ret
Example #3
0
 def token_id(t):
     _ret_c = lib.cw__test_helpers_token_id(UserTokenHelper.fromPy(t))
     CPyException.toPyCheckAndRaise(_ret_c)
     _ret = UserTokenHelper.toPy(_ret_c)
     assert _ret is not None
     return _ret
Example #4
0
 def token_id(t):
     _ret_c = lib.cw__test_helpers_token_id(UserTokenHelper.fromPy(t))
     CPyException.toPyCheckAndRaise(_ret_c)
     _ret = UserTokenHelper.toPy(_ret_c)
     assert _ret is not None
     return _ret