[Dev] When to run unit tests and how

Phillip J. Eby pje at telecommunity.com
Tue Jun 7 21:01:38 PDT 2005


At 08:03 PM 6/7/2005 -0700, Heikki Toivonen wrote:
>I was unable to run application tests just now, though.
>
>     INVALID_EMAIL_ADDRESS = _("%s Address %s is not a valid Email Address")
>NameError: name '_' is not defined
>
>Need to import gettext?

Interesting; I don't get this error.  Were you running everything or just 
'application'?



More information about the Dev mailing list