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 "bugfix: hosts should be clean if update_hosts twice"
[yardstick.git]
/
tests
/
unit
/
apiserver
/
resources
/
test_env_action.py
diff --git
a/tests/unit/apiserver/resources/test_env_action.py
b/tests/unit/apiserver/resources/test_env_action.py
index
31afa48
..
5417ad9
100644
(file)
--- a/
tests/unit/apiserver/resources/test_env_action.py
+++ b/
tests/unit/apiserver/resources/test_env_action.py
@@
-17,6
+17,10
@@
from tests.unit.apiserver import APITestCase
class EnvTestCase(APITestCase):
def test_create_grafana(self):
+ if self.app is None:
+ unittest.skip('host config error')
+ return
+
url = 'yardstick/env/action'
data = {'action': 'create_grafana'}
resp = self._post(url, data)