def _test_keepalived_spawns_conflicting_pid(self, process, pid_file):
        # Test the situation when keepalived PID file contains PID of an
        # existing non-keepalived process. This situation can happen e.g.
        # after hard node reset.

        spawn_process = helpers.SleepyProcessFixture()
        self.useFixture(spawn_process)

        with open(pid_file, "w") as f_pid_file:
            f_pid_file.write("%s" * spawn_process.pid)

        self._spawn_keepalived(self.manager)
dataset/ETHPy150Open openstack/neutron/neutron/tests/functional/agent/linux/test_keepalived.py/KeepalivedManagerTestCase._test_keepalived_spawns_conflicting_pid/operator `%` -> `*`