Code Review
/
doctor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change type of nova_api_version from float to str
[doctor.git]
/
tests
/
nova_force_down.py
diff --git
a/tests/nova_force_down.py
b/tests/nova_force_down.py
index
bb10e9e
..
abea567
100644
(file)
--- a/
tests/nova_force_down.py
+++ b/
tests/nova_force_down.py
@@
-36,7
+36,7
@@
def force_down(hostname, force_down=True):
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Auth-Token': keystone.auth_ref['token']['id'],
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Auth-Token': keystone.auth_ref['token']['id'],
- 'X-OpenStack-Nova-API-Version':
2.11
,
+ 'X-OpenStack-Nova-API-Version':
'2.11'
,
}
print requests.put(url, data=json.dumps(data), headers=headers)
}
print requests.put(url, data=json.dumps(data), headers=headers)