1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-18 09:51:41 +00:00

Ensure standard locale in run_command (group3-batch3) (#11741)

* run_command locale group3 batch3: normalise to LANGUAGE=C, LC_ALL=C

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix changelog fragment: bugfixes, American English, separate code spans

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix changelog fragment: correct PR number (11741)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Alexei Znamensky 2026-04-09 01:21:58 +12:00 committed by GitHub
parent 936ab2ea56
commit e59888dd7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 22 additions and 13 deletions

View file

@ -449,7 +449,7 @@ TEST_CASES = [
(
[
"subscription-manager list --available",
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
(
0,
"""
@ -559,7 +559,7 @@ Entitlement Type: Physical
(
[
"subscription-manager list --available",
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
(
0,
"""
@ -655,7 +655,7 @@ Entitlement Type: Physical
(
[
"subscription-manager list --available",
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
(
0,
"""
@ -733,7 +733,7 @@ Entitlement Type: Physical
),
(
"subscription-manager list --consumed",
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
(
0,
"""
@ -776,7 +776,7 @@ Entitlement Type: Physical
(
[
"subscription-manager list --available",
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
(
0,
"""