summaryrefslogtreecommitdiff
path: root/nova/tests/functional/api_samples_test_base.py
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-04-10 10:02:03 +0100
committerStephen Finucane <sfinucan@redhat.com>2019-04-12 16:23:49 +0100
commit3e65f778bdb51e2cf0693f4e9b1b4539ea5c294c (patch)
treed1ae560a80cb0eb05eeab396b0eef710aa2250fb /nova/tests/functional/api_samples_test_base.py
parente18b79ef878795d8445fb7c85202a6f51f125948 (diff)
downloadnova-3e65f778bdb51e2cf0693f4e9b1b4539ea5c294c.tar.gz
Bump to hacking 1.1.0
This brings in a couple of new checks which must be addressed, many of which involve a rather large amount of changes, so these are ignored for now. A series of follow-up changes will resolved these. 'pycodestyle' is added as a dependency rather than it being pulled in transitively. This is necessary since we're using it in tests. Change-Id: I35c654bd39f343417e0a1124263ff31dcd0b05c9 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'nova/tests/functional/api_samples_test_base.py')
-rw-r--r--nova/tests/functional/api_samples_test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/functional/api_samples_test_base.py b/nova/tests/functional/api_samples_test_base.py
index eafa5cd2b5..581c7327eb 100644
--- a/nova/tests/functional/api_samples_test_base.py
+++ b/nova/tests/functional/api_samples_test_base.py
@@ -522,7 +522,7 @@ class ApiSampleTestBase(integrated_helpers._IntegratedTestBase):
body = self._read_template(name) % self.subs
sample = self._get_sample(name, self.microversion)
if self.generate_samples and not os.path.exists(sample):
- self._write_sample(name, body)
+ self._write_sample(name, body)
return self._get_response(url, method, body, headers=headers)
def _do_put(self, url, name=None, subs=None, headers=None):