diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-02-14 06:03:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-02-14 06:03:22 +0000 |
commit | 5f17f8e07b4c115e190e2d5a28808d648e60c3a4 (patch) | |
tree | 6a99883274e244046fab5fde78aad6cfa2d3a0cc /tests/unit | |
parent | d45d6aacdd769f07bfc2bad92be57a1c2ccf5d1f (diff) | |
parent | 39347638ad31207d62bd2b3edbbe9d409b847eeb (diff) |
Merge "test_env_action: use dict literal"
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/apiserver/resources/test_env_action.py | 2 |
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) |