예제 #1
0
from test_support import build, run
import re

build('workorder')
run('workorder', output_file="out.tmp")

for l in open('out.tmp').readlines():
    print(
        re.sub(r"\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d[\+\-]\d\d:\d\d",
               "XXXX-XX-XXTXX:XX:XXZ", l))
예제 #2
0
from test_support import exec_cmd, build, run

exec_cmd('ada2wsdl', ['-q', '-Pns_rename_arr_rec_server', '-f', '-lit', '-o',
                      'api.wsdl', 'api.ads'])

exec_cmd('wsdl2aws', ['-q', '-f', '-types', 'api', 'api.wsdl'])
build('ns_rename_arr_rec_server')
run('ns_rename_arr_rec_server')
예제 #3
0
파일: test.py 프로젝트: stcarrez/aws
from test_support import exec_cmd, build, run

exec_cmd('ada2wsdl', ['-q', '-f', '-lit', '-o', 'api.wsdl', 'api.ads'])

exec_cmd('wsdl2aws', ['-q', '-f', '-types', 'api', 'api.wsdl'])
build('ns_rename_arr_rec_server')
run('ns_rename_arr_rec_server')
예제 #4
0
from test_support import gprbuild, run

gprbuild('strip_filter')
run('strip_filter')
예제 #5
0
from test_support import exec_cmd, build, run
import re

exec_cmd('wsdl2aws', ['-q', '-f', 'gettst.wsdl'])
build('dl2_server')
run('dl2_server', output_file="out.tmp")

# Change dateTime

r1 = r'(\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ)'
r2 = r'(\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\+\d\d:\d\d)'

for l in open('out.tmp').readlines():
    print(re.sub(r1+r'|'+r2, "XXXX-XX-XXTXX:XX:XXZ", l))
예제 #6
0
파일: test.py 프로젝트: silentTeee/aws
from test_support import exec_cmd, build, run
import re

exec_cmd('ada2wsdl',
         ['-q', '-f', '-Ptest', '-o', 'test.wsdl', '-doc', '-lit',
          '-a', 'http://*****:*****@":
        print(item)

# name space
for item in out:
    if s3.match(item):
        print(item.strip("<> \r\n"))
        break
for item in out:
예제 #7
0
파일: test.py 프로젝트: yoshiken/aws
from test_support import exec_cmd, build, run

exec_cmd('ada2wsdl', ['-q', '-f', '-doc', '-lit', '-o', 'api.wsdl', 'api.ads'])

exec_cmd('wsdl2aws', ['-q', '-f', '-types', 'api', 'api.wsdl'])
build('ns_rename_server')
run('ns_rename_server')
예제 #8
0
파일: test.py 프로젝트: stcarrez/aws
from test_support import exec_cmd, build, run
import re

exec_cmd('wsdl2aws', ['-q', '-f', 'gettst.wsdl'])
build('dl2_server')
run('dl2_server', output_file="out.tmp")

# Change dateTime

r1 = r'(\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ)'
r2 = r'(\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d[\+\-]\d\d:\d\d)'

for l in open('out.tmp').readlines():
    print(re.sub(r1+r'|'+r2, "XXXX-XX-XXTXX:XX:XXZ", l))
예제 #9
0
파일: test.py 프로젝트: stcarrez/aws
from test_support import build, run
import re

build('workorder')
run('workorder', output_file="out.tmp")

for l in open('out.tmp').readlines():
    print(re.sub(r"\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d([\+\-]\d\d:\d\d|Z)",
                 "XXXX-XX-XXTXX:XX:XXZ", l))