def RunTest(name, handler):
 test_path = os.path.join(_module_dir, (name + '.py'))
 try:
  x = __LoadModule(test_path, name)
  for test in x.List():
   test_object = eval(('x.%s(handler)' % test))
   if (test_object.Enabled() and (not test_object.Test())):
    return False
 except BaseException as e:
  print(("Couldn't load test %s: %s" % (name, str(e))))
 return True

def RunTest ( name , handler ) : test_path = os . path . join ( _module_dir , ( name + '.py' ) ) try : x = __LoadModule ( test_path , name ) for test in x . List ( ) : test_object = eval ( ( 'x.%s(handler)' % test ) ) if ( test_object . Enabled ( ) and ( not test_object . Test ( ) ) ) : return False except BaseException as e : print ( ( "Couldn't load test %s: %s" % ( name , str ( e ) ) ) ) return True
run a single test .