<div dir="ltr"><div>That looks awesome.<br><br></div>I can&#39;t find a license for it. I&#39;m publishing some third-party helpers for twisted&#39;s amp implementation as I need them myself (presumably I&#39;ll make a formal release announcement at the Pycon sprints). Do you mind if I copy this code? I can&#39;t seem to find a license. (txampext is ISC-licensed, which I assume is congruent to your sensibilities :))<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 4, 2013 at 5:17 PM,  <span dir="ltr">&lt;<a href="mailto:exarkun@twistedmatrix.com" target="_blank">exarkun@twistedmatrix.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 03:34 pm, _@lvh.cc wrote:<br>
&gt;Hi,<br>
&gt;<br>
&gt;<br>
&gt;I have no issue writing AMP responders TTD-edly, they work pretty much<br>
&gt;the<br>
&gt;way any other code would. However, I did notice that the only way I&#39;d<br>
&gt;notice if my Command definitions themselves were broken were if my<br>
&gt;functional tests start failing.<br>
<br>
</div>Chris and I wrote all the AMP-using code for game TDD.  See<br>
game/test/test_network.py in lp:game.<br>
<br>
Jean-Paul<br>
<div class="im">&gt;It would be nice if I could write unit test driven Command<br>
&gt;specifications,<br>
&gt;as well.<br>
&gt;<br>
&gt;The quickest I could come up with was to call<br>
&gt;makeArguments/makeResponse<br>
&gt;with a few known-good/known-bad dictionaries, and see if it blows up.<br>
&gt;Is<br>
&gt;there a smarter way to do it?<br>
&gt;<br>
&gt;--<br>
&gt;cheers<br>
&gt;lvh<br>
<br>
</div>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">cheers<div>lvh</div></div>
</div>