Tests: unset LC_ALL variable in Ruby encoding test.

This change is necessary to set Encoding.default_external value correctly.
This commit is contained in:
Andrei Zeliankou
2021-04-01 00:05:44 +01:00
parent f43265ba2c
commit 46d8567dd7

View File

@@ -250,7 +250,8 @@ class TestRubyApplication(TestApplicationRuby):
def check_locale(enc): def check_locale(enc):
assert 'success' in self.conf( assert 'success' in self.conf(
{"LC_CTYPE": enc}, '/config/applications/encoding/environment', {"LC_CTYPE": enc, "LC_ALL": ""},
'/config/applications/encoding/environment',
) )
resp = self.get() resp = self.get()