diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2021-04-01 00:05:44 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2021-04-01 00:05:44 +0100 |
commit | 46d8567dd7c2a9af025f1de13084a9efd7118e20 (patch) | |
tree | 04e4238e508529f505490f6d3754dc7c33f1bccf /test | |
parent | f43265ba2c0c4a08a3c513fb11dca9835388a001 (diff) | |
download | unit-46d8567dd7c2a9af025f1de13084a9efd7118e20.tar.gz unit-46d8567dd7c2a9af025f1de13084a9efd7118e20.tar.bz2 |
Tests: unset LC_ALL variable in Ruby encoding test.
This change is necessary to set Encoding.default_external value correctly.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ruby_application.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_ruby_application.py b/test/test_ruby_application.py index 12a078b7..17491619 100644 --- a/test/test_ruby_application.py +++ b/test/test_ruby_application.py @@ -250,7 +250,8 @@ class TestRubyApplication(TestApplicationRuby): def check_locale(enc): assert 'success' in self.conf( - {"LC_CTYPE": enc}, '/config/applications/encoding/environment', + {"LC_CTYPE": enc, "LC_ALL": ""}, + '/config/applications/encoding/environment', ) resp = self.get() |