path: waagent_2.12.0.2-4/tests/ga/test_env.py
                    self.assertEqual("Dhcp client is not running.", args[0])
            with patch("azurelinuxagent.common.osutil.default.shellutil.run_command", side_effect=lambda _: self.shellutil_run_command(["pidof", "non-existing-process"])):
                # it should log the first error
                pids = monitor_dhcp_client_restart._get_dhcp_client_pid()
