[Openstack] Questions About test_localization.py
Zed A. Shaw
zedshaw at zedshaw.com
Wed Aug 3 23:53:51 UTC 2011
On Wed, Aug 03, 2011 at 10:43:56PM +0000, Sandy Walsh wrote:
> > 3. Maybe, write out a list of _() calls that aren't translated yet. Not sure if this is best in a test or as a tool though.
> >
> > What you think?
>
> Good idea. I like the way pep8 is run after the tests succeed. I can still hook it into bzr pre-commit or run it independently.
>
> +1 as a tool
What if you think we just ditch this unit test and I wrote a "gettext
checker" similar to pep8? That might be way more useful, since these
aren't failures in code, just failure in convention, and then I can also
release this tool generally for others.
--
Zed A. Shaw
http://zedshaw.com/
More information about the Openstack
mailing list