"""Returns 0 if the test is parsed, 1 if not."""importsysimportosimportargparseimportpydnstestimportpydnstest.scenariodefmain():"""Returns 0 if the test is parsed, 1 if not."""argparser=argparse.ArgumentParser()argparser.add_argument("file")args=argparser.parse_args()ifpydnstest.scenario.parse_file(os.path.realpath(args.file)):sys.exit(0)else:sys.exit(1)