path: waagent_2.12.0.2-4/tests/ga/test_env.py
                assert_warnings(1)
            with patch("azurelinuxagent.common.osutil.default.shellutil.run_command", side_effect=lambda _: self.shellutil_run_command(["pidof", "non-existing-process"])):
                # it should log the new error
                pids = monitor_dhcp_client_restart._get_dhcp_client_pid()
