Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Create API to run test suite"
[yardstick.git]
/
yardstick
/
common
/
httpClient.py
diff --git
a/yardstick/common/httpClient.py
b/yardstick/common/httpClient.py
index
ab2e9a3
..
6acd030
100644
(file)
--- a/
yardstick/common/httpClient.py
+++ b/
yardstick/common/httpClient.py
@@
-28,3
+28,7
@@
class HttpClient(object):
except Exception as e:
logger.debug('Failed: %s', e)
raise
+
+ def get(self, url):
+ response = requests.get(url)
+ return response.json()