10 os.environ[
'PAGER'] =
"cat"
17 [
'--dry-run',
'root_input.py',
'-i',
'miep.root'],
18 [
'--dry-run',
'root_input.py'],
21 [
'-m',
'NonExistingModule'],
22 [
'--thisdoesntexist'],
23 [
'/this/path/doesnt/exist.py'],
24 [
'h͌̉e̳̞̞͆ͨ̏͋̕c͟o͛҉̟̰̫͔̟̪̠m̴̀ͯ̿͌ͨ̃͆e̡̦̦͖̳͉̗ͨͬ̑͌̃ͅt̰̝͈͚͍̳͇͌h̭̜̙̦̣̓̌̃̓̀̉͜'],
27 test_dir = basf2.find_file(
"/framework/tests")
29 for arguments
in success:
30 assert 0 == subprocess.run([
'basf2'] + arguments).returncode
32 for arguments
in error:
33 assert 0 != subprocess.run([
'basf2'] + arguments).returncode