Lines Matching full:args
34 parser.add_argument('--script-args', help='args of script')
40 args = parser.parse_args()
41 return args
43 def judge_output(args): argument
62 if args.expect_output:
64 if returncode != args.expect_output:
69 print(">>>>> Expect return: [" + args.expect_output \
72 elif args.expect_sub_output:
74 if out_str.find(args.expect_sub_output) == -1:
77 print(">>>>> Expect contain: [" + args.expect_sub_output \
80 elif args.expect_file:
81 with open(args.expect_file, mode='r') as file: