My tests are here:<div><a href="https://github.com/Adys/python-xdg/blob/master/tests/mime.py">https://github.com/Adys/python-xdg/blob/master/tests/mime.py</a><br></div><div><br></div><div>I strongly recommend you test for foo.c, foo.C, aliases, non-existant mime types, and mimetype parenting (text/x-python <- text/plain)</div>
<div> </div><div class="gmail_extra"><br clear="all">J. Leclanche<br>
<br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 12:24 AM, Thomas Kluyver <span dir="ltr"><<a href="mailto:thomas@kluyver.me.uk" target="_blank">thomas@kluyver.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra"><div class="im"><div class="gmail_quote">On 3 December 2012 22:31, Jerome Leclanche <span dir="ltr"><<a href="mailto:adys.wh@gmail.com" target="_blank">adys.wh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
No worries Thomas. I'll keep python-xdg as a separate project, it's not bad to have an alternative. I mostly enjoy the mimetype api, for which I have pretty extensive tests. Feel free to look around.</blockquote>
</div>
<br></div>Great. I haven't looked in great detail at how mime-types are implemented in PyXDG, although I have written a few basic tests for it. If you see any problems there (<a href="http://cgit.freedesktop.org/xdg/pyxdg/tree/xdg/Mime.py" target="_blank">http://cgit.freedesktop.org/xdg/pyxdg/tree/xdg/Mime.py</a> ), let me know. I've also put a copy of the repository on Github (<a href="https://github.com/takluyver/pyxdg" target="_blank">https://github.com/takluyver/pyxdg</a> ), so pull requests are welcome.<br>
<br>Thanks,<br>Thomas<br></div>
</blockquote></div><br></div>