summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-07-01 20:41:08 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-01 20:41:08 +0000
commitdeef9dc543191e396e264637956fb9da353c05f0 (patch)
tree69557209ef675112575f486251853a848c5f55b9
parent7b0ffc3ea48a8c8fc514c950cadf8a6b806b6495 (diff)
parent75d62ca476596b81514512f1c5629bb1de2de690 (diff)
Merge "using ProjectUpdateRequest when update projects record in testAPI"
-rw-r--r--utils/test/result_collection_api/opnfv_testapi/tests/unit/test_project.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/result_collection_api/opnfv_testapi/tests/unit/test_project.py b/utils/test/result_collection_api/opnfv_testapi/tests/unit/test_project.py
index d47306093..327ddf7b2 100644
--- a/utils/test/result_collection_api/opnfv_testapi/tests/unit/test_project.py
+++ b/utils/test/result_collection_api/opnfv_testapi/tests/unit/test_project.py
@@ -10,7 +10,7 @@ import unittest
from test_base import TestBase
from opnfv_testapi.resources.project_models import ProjectCreateRequest, \
- Project, Projects
+ Project, Projects, ProjectUpdateRequest
from opnfv_testapi.common.constants import HTTP_OK, HTTP_BAD_REQUEST, \
HTTP_FORBIDDEN, HTTP_NOT_FOUND
@@ -112,7 +112,7 @@ class TestProjectUpdate(TestProjectBase):
code, body = self.get(self.req_d.name)
_id = body._id
- req = ProjectCreateRequest('newName', 'new description')
+ req = ProjectUpdateRequest('newName', 'new description')
code, body = self.update(req, self.req_d.name)
self.assertEqual(code, HTTP_OK)
self.assertEqual(_id, body._id)