Jian Wen (wenjianhn) has assigned this bug to you for OpenStack Object Storage
(swift):
Some unit tests rely on HTTP response.
Like "self.assertIn("invalid state for '%(_action)s'" % locals(), res.body)" in
/opt/stack/nova/nova/tests/api/openstack/compute/contrib/test_admin_actions.py .
If the response was translated to other language like Chinese the assertion
will fail.
How to reproduce the bug:
% export LANG=zh_CN.UTF-8
% export LANGUAGE=zh_CN:en_GB:en
% export LC_MESSAGES="zh_CN.UTF-8"
% ./run_tests.sh
Change locale to english would fix this:
% export LANG=en_US.UTF-8
% export LANGUAGE=en_US:en
% export LC_ALL=C
% ./run_tests.sh
** Affects: swift
Importance: Undecided
Assignee: Sina Web Service Dev (sws)
Status: New
--
I18N problem in Nova's test suites
https://bugs.launchpad.net/bugs/1037943
You received this bug notification because you are a member of Sina Web Service
Dev, which is a bug assignee.
--
Mailing list: https://launchpad.net/~sws
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sws
More help : https://help.launchpad.net/ListHelp