Make url and list name consistent. Fix #12
authorGermán Poo-Caamaño <gpoo@gnome.org>
Fri, 23 May 2014 08:21:19 +0000 (01:21 -0700)
committerSantiago Dueñas <sduenas@bitergia.com>
Fri, 23 May 2014 16:27:29 +0000 (18:27 +0200)
commit36f5f25c39b9590248774f18427adfe5d68ae771
treea8063d0a4f2edb83186c6d38d87b72179eb1dba8
parent41efdd110642c8b59d037961b1401755355d6983
Make url and list name consistent. Fix #12

Make the url stored always be the same regardless if the user
entered with or without trailing slash.  Also takes care or giving
the list alias (or name) a meaningful text (non-empty) as much
as possible.

Add testcases for the class MailingList, which handles the
location, mailing list name, etc.

Signed-off-by: Santiago Dueñas <sduenas@bitergia.com>
pymlstats/main.py
pymlstats/tests/test_main.py [new file with mode: 0644]