aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/apiserver/resources
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/apiserver/resources')
-rw-r--r--tests/unit/apiserver/resources/test_env_action.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/apiserver/resources/test_env_action.py b/tests/unit/apiserver/resources/test_env_action.py
index e8f99b706..0411a66c4 100644
--- a/tests/unit/apiserver/resources/test_env_action.py
+++ b/tests/unit/apiserver/resources/test_env_action.py
@@ -10,7 +10,7 @@ class EnvTestCase(APITestCase):
def test_create_grafana(self):
url = 'yardstick/env/action'
- data = dict(action='createGrafanaContainer')
+ data = {'action': 'createGrafanaContainer'}
resp = self._post(url, data)
time.sleep(1)