[fuelclient] Shlex does not accept unicode input prior to python 2.7.3
Bug #1501769 reported by
Sylwester Brzeczkowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Fuel Sustaining | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
Newton |
Confirmed
|
Medium
|
Fuel Sustaining |
Bug Description
Now it's impossible to test commands which content unicode in fuel2 using BaseCLITest class:
def exec_command(self, command=''):
"""Executes fuelclient with the specified arguments."""
return main_mod.
Possible solutions are:
- drop python 2.6
- replace shlex with something else (custom function or some third-party module)
- change all test to pass list of arguments instead of string to 'exec_command'
tags: | added: area-python |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Artem Roma (aroma-x) |
To post a comment you must log in.
This seems to me as tech-debt bug as we are not dropping support for py26 and AFAIU will not in near future. Also workaround is available [1]
[1]: https:/ /github. com/openstack/ python- fuelclient/ blob/master/ fuelclient/ tests/unit/ v2/cli/ test_node. py#l143- l148