← Back to team overview

openstack team mailing list archive

Re: Questions About test_localization.py

 

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/


Follow ups

References