<div>Jathan,</div><div><br></div>What requirements do you have of the mocked object?<div><br></div><div>- Andrew<br><div><br></div><div><br></div><div><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 4:38 PM, Jathan McCollum <span dir="ltr">&lt;<a href="mailto:jathan@gmail.com" target="_blank">jathan@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a need to mock the socket module, but without actually importing it first. I know some pretty sophisticated mocking can be done with Mox, but it requires that you import the real module into the namespace first.<div>


<br></div><div>I am doing some work on an embedded system that doesn&#39;t have _socket.so, which means I can&#39;t actually import the socket module, but I need to do some mocking of connections.</div><div><br></div><div>


Anyone have any pointers? Thanks in advance!</div><span><font color="#888888"><div><div><br></div>-- <br>Jathan.<br>--<br>
</div>
</font></span><br>_______________________________________________<br>
socal-piggies mailing list<br>
<a href="mailto:socal-piggies@lists.idyll.org" target="_blank">socal-piggies@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/socal-piggies" target="_blank">http://lists.idyll.org/listinfo/socal-piggies</a><br>
<br></blockquote></div><br></div></div>