Skip to content

Commit 21c811c

Browse files
committed
[PBCKP-365] jentlier
1 parent a65902c commit 21c811c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/option_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,11 @@ def test_help_6(self):
220220
"""help options"""
221221
if ProbackupTest.enable_nls:
222222
if check_locale('ru_RU.utf-8'):
223-
self.test_env['LC_ALL'] = 'ru_RU.utf-8'
223+
env = self.test_env.copy()
224+
env['LC_MESSAGES'] = 'ru_RU.utf-8'
224225
with open(os.path.join(self.dir_path, "expected/option_help_ru.out"), "rb") as help_out:
225226
self.assertEqual(
226-
self.run_pb(["--help"]),
227+
self.run_pb(["--help"], env=env),
227228
help_out.read().decode("utf-8")
228229
)
229230
else:

0 commit comments

Comments
 (0)