Changeset - eaae2b4a44ce
[Not reviewed]
0 1 0
Brett Smith - 4 years ago 2020-05-28 19:52:09
brettcsmith@brettcsmith.org
tests: Set locale environment variables.

To help tests get consistent formatting of currency.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
tests/conftest.py
Show inline comments
...
 
@@ -9,2 +9,4 @@ def clean_environment(tmpdir_factory):
 
    config_path_s = str(testutil.test_path('userconfig'))
 
    for key in ['LANG', 'LANGUAGE', 'LC_ALL', 'LC_CTYPE', 'LC_MONETARY']:
 
        os.environ[key] = 'en_US.UTF-8'
 
    os.environ.pop('RTAUTH', None)
0 comments (0 inline, 0 general)