def py_test(name, srcs=[], deps=[], main=None, base=None, testdata=[], **kwargs):
 target = PythonTest(name, srcs, deps, main, base, testdata, kwargs)
 blade.blade.register_target(target)

def py_test ( name , srcs = [ ] , deps = [ ] , main = None , base = None , testdata = [ ] , ** kwargs ) : target = PythonTest ( name , srcs , deps , main , base , testdata , kwargs ) blade . blade . register_target ( target )
python test .