-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add int test that sets non english LANG
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+12 KB
tests/integration/tier0/resolve-broken-ol8-rollback/.test_resolve_broken_ol8_rollback.py.swp
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
tests/integration/tier1/set-locale/use_non_english_language.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
def test_use_non_english_language(shell): | ||
""" | ||
We need to test the ability of convert2rhel to convert the system when non english | ||
language is set. | ||
""" | ||
# install French language pack | ||
# assert shell("yum install langpacks-fr -y").returncode == 0 | ||
assert shell("export LANG=fr_FR.UTF-8").returncode == 0 | ||
# assert shell("export LC_NUMERIC=fr_FR.UTF-8").returncode == 0 | ||
|
||
assert shell("localectl set-locale LANG=zh_CN.utf8").returncode == 0 | ||
assert shell("export LC_NUMERIC=zh_CN.utf8").returncode == 0 |