예제 #1
0
from __future__ import print_function

import moya.elements
from moya.archive import Archive
call = Archive.get_callable_from_document('test.xml',
                                          'main',
                                          default_context=True)
result = call()
print("Return value:", result)
예제 #2
0
from __future__ import print_function

import moya.elements
from moya.archive import Archive

call = Archive.get_callable_from_document("test.xml",
                                          "main",
                                          default_context=True)
result = call()
print("Return value:", result)
예제 #3
0
파일: runtest.py 프로젝트: chrmorais/moya
from __future__ import print_function

import moya.elements
from moya.archive import Archive
call = Archive.get_callable_from_document('test.xml', 'main', default_context=True)
result = call()
print("Return value:", result)