My tests are here:
https://github.com/Adys/python-xdg/blob/master/tests/mime.py

I strongly recommend you test for foo.c, foo.C, aliases, non-existant mime
types, and mimetype parenting (text/x-python <- text/plain)


J. Leclanche


On Tue, Dec 4, 2012 at 12:24 AM, Thomas Kluyver <[email protected]>wrote:

> On 3 December 2012 22:31, Jerome Leclanche <[email protected]> wrote:
>
>> 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.
>
>
> 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 (http://cgit.freedesktop.org/xdg/pyxdg/tree/xdg/Mime.py ),
> let me know. I've also put a copy of the repository on Github (
> https://github.com/takluyver/pyxdg ), so pull requests are welcome.
>
> Thanks,
> Thomas
>
_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to