From a33b5b4d39bcb86004947819dea08fb0015bbfc7 Mon Sep 17 00:00:00 2001 From: jacobliberman Date: Thu, 5 Feb 2015 11:54:56 -0600 Subject: [PATCH] Replace ' with " in rally/benchmark and tests/unit Partial bug: 1405884 Change-Id: I43cb7440b7b2a284ff08538860b1f85c1da0925d --- tests/hacking/checks.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hacking/checks.py b/tests/hacking/checks.py index 5028d044..842aa3d2 100644 --- a/tests/hacking/checks.py +++ b/tests/hacking/checks.py @@ -61,7 +61,7 @@ def _parse_assert_mock_str(line): point = line.find(".assert_") if point != -1: - end_pos = line[point:].find('(') + point + end_pos = line[point:].find("(") + point return point, line[point + 1: end_pos], line[: point] else: return None, None, None diff --git a/tox.ini b/tox.ini index 1f93b9fa..1fa53121 100644 --- a/tox.ini +++ b/tox.ini @@ -41,7 +41,7 @@ downloadcache = ~/cache/pip ignore = E126,H703 show-source = true 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] import_exceptions = rally.common.i18n