'Testing whether the process checker returns false when there is a dead pid in the lock file.'

def test_dead_pid_in_lock_file(self):

    dead_pid = 134824733
    self.create_lock_file_with_pid(dead_pid)
    process_checker = ProcessChecker(state_directory=self.state_dir)
    self.assertFalse(process_checker.is_pid_running(dead_pid))
    self.assertFalse(process_checker.already_running)
