fixture.
"""
def run(*args):
- """Run a notmuch comand.
+ """Run a notmuch command.
This function runs with a timeout error as many notmuch
commands may block if multiple processes are trying to open
env = os.environ.copy()
env['NOTMUCH_CONFIG'] = str(cfg_fname)
proc = subprocess.run(cmd,
- timeout=5,
+ timeout=120,
env=env)
proc.check_returncode()
return run