pyicat_plus.tests.fixtures.proc.wait_terminate#

pyicat_plus.tests.fixtures.proc.wait_terminate(process, timeout=10)[source]#

Try to terminate or kill a process.

Parameters:
  • process – A process object from subprocess or psutil, or an PID int

  • timeout – Timeout to way before using a kill signal

Raises:

AssertionError – If the kill fails