summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-04-01 00:05:44 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2021-04-01 00:05:44 +0100
commit46d8567dd7c2a9af025f1de13084a9efd7118e20 (patch)
tree04e4238e508529f505490f6d3754dc7c33f1bccf /test
parentf43265ba2c0c4a08a3c513fb11dca9835388a001 (diff)
downloadunit-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.py3
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()