Replace ' with " in rally/benchmark and tests/unit
Partial bug: 1405884 Change-Id: I43cb7440b7b2a284ff08538860b1f85c1da0925d
This commit is contained in:
parent
70f9b2f6d6
commit
a33b5b4d39
@ -61,7 +61,7 @@ def _parse_assert_mock_str(line):
|
|||||||
point = line.find(".assert_")
|
point = line.find(".assert_")
|
||||||
|
|
||||||
if point != -1:
|
if point != -1:
|
||||||
end_pos = line[point:].find('(') + point
|
end_pos = line[point:].find("(") + point
|
||||||
return point, line[point + 1: end_pos], line[: point]
|
return point, line[point + 1: end_pos], line[: point]
|
||||||
else:
|
else:
|
||||||
return None, None, None
|
return None, None, None
|
||||||
|
2
tox.ini
2
tox.ini
@ -41,7 +41,7 @@ downloadcache = ~/cache/pip
|
|||||||
ignore = E126,H703
|
ignore = E126,H703
|
||||||
show-source = true
|
show-source = true
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,build,*rally/openstack*
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,build,*rally/openstack*,setup.py
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = rally.common.i18n
|
import_exceptions = rally.common.i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user