def METHOD_NAME(self, m_open, mock_post):
    r = generate_winagent_exe(
        client=1,
        site=1,
        agent_type="server",
        rdp=1,
        ping=0,
        power=0,
        goarch="amd64",
        token="abc123",
        api="https://api.example.com",
        file_name="rmm-client-site-server.exe",
    )
    self.assertEqual(r.status_code, 200)