All calls was using shell=True, but there are no shell features used.
Also use tox instead of setup.py in install tempest.
Change-Id: I2eb35fb8899c528d4e141d3a447eac53ce5d1a39
There is module 'cmd' in standard library, and unittest's discover
does modify sys.path when running tests. This cause errors when running
unit tests in some environments (E.g. pycharm)
Change-Id: I4fd2d271da1b7fd300fbbeb6107aa958e716fd2b
Closes-Bug: 1457162
Changes:
- list() declarations replaced with []
- dict() declarations replaced with {}
- Added N351 to hacking for literal rule along with checks, test hacking, and to readme
- Minor fix to incorrect path in hacking guidelines pointing to test_hacking.py
Change-Id: Ie7b9201d61b6f2024217b6f4117605eb52fa916a
Closes-Bug: #1437515
Rally code is python 3.4 compatible(required several small fixes, see a list
below for more details), so we can mention this great information in
setup.cfg file.
Fixed py34 incompatibe issues:
- usage of OrderedDict for storing task results. Order of such results as
AtomicActions is important.
- printed sla results are sorted by criterea name, so the results are equal
in all envs
Change-Id: I5f031170218ef4c2daf0ce0c2c391822218643dd
Find and show argument name instead of showing argument of 'dest'
Add functional test for this
Remove test_cli_utils.py -> utils.py because this actually utils,
not tests.
Change-Id: Icc138ecf40b4929826efcad52c135c8809348d20
Closes-Bug: #1380562