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