Mimesis: Add the ability to test all locales at once.

Created on 20 Oct 2016  路  6Comments  路  Source: lk-geimfari/mimesis

We need test all locales at one moment without manual changes file tests.py. Because by default tests.py will test only en locale. If we want to check other locales then we need manually change value of LANG in file tests.py and it's not good. One of the best solution is a pytest.fixture

So if anyone can help us with this problem, please let me know. Thanks!

help wanted

All 6 comments

I'm looking at this right now. I think it can be done with unittest alone using the list of locales and a custom TestSuite.

@Battleroid Oh, great!. If you can do it, then i'll wait for your PR.

I'll certainly give it a try!

@Battleroid Excellent!

I submitted my attempt at PR #43.

@Battleroid Great work! Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lk-geimfari picture lk-geimfari  路  6Comments

lk-geimfari picture lk-geimfari  路  5Comments

lk-geimfari picture lk-geimfari  路  4Comments

cryocaustik picture cryocaustik  路  7Comments

lk-geimfari picture lk-geimfari  路  3Comments