[TIP] Tox and locales

holger krekel holger at merlinux.eu
Thu May 14 23:55:21 PDT 2015


On Thu, May 14, 2015 at 11:34 +0100, Dougal Matthews wrote:
> Turns out I just needed this!
> https://testrun.org/tox/latest/example/basic.html#passing-down-environment-variables

I was considering adding "LANG" to the list of default passenv variables for tox-2.0
so that all testenv's would see the locale setting that is used with the tox invocation.
On the other hand it's not always needed and i think it's good to know for a project's
tests that it has dependencies on running with a particular locale.

holger


> On 14 May 2015 at 11:20, Dougal Matthews <dougal at dougalmatthews.com> wrote:
> > Hi all,
> >
> > What am I doing wrong in this example? Basically, I expected my tests
> > to have the local utf-8, but that isn't happening. What is the best
> > way to handle this?
> >
> > Details all on this gist:
> > https://gist.github.com/d0ugal/a14f58f679b22d36e2bd
> >
> > Thanks,
> > Dougal
> 
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
> 

-- 
about me:    http://holgerkrekel.net/about-me/
contracting: http://merlinux.eu



More information about the testing-in-python mailing list