From 46d8567dd7c2a9af025f1de13084a9efd7118e20 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 1 Apr 2021 00:05:44 +0100 Subject: [PATCH] Tests: unset LC_ALL variable in Ruby encoding test. This change is necessary to set Encoding.default_external value correctly. --- test/test_ruby_application.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()