diff options
author | thuva4 <tharma.thuva@gmail.com> | 2018-03-18 16:14:43 +0530 |
---|---|---|
committer | thuva4 <tharma.thuva@gmail.com> | 2018-03-18 16:14:43 +0530 |
commit | 5410727d88587663f0ef28e0fe399f7073e6cd7d (patch) | |
tree | dcfde6675f59f954847ff7160ecd278f0ccc3bf2 /testapi/opnfv_testapi/tests/unit/executor.py | |
parent | 3f179ccef8a3d49993ecdec58a008054288b622b (diff) |
Add submitter check for testcase
prevent user(Non submitter) from create, update,
delete a testcase
tests are added
Change-Id: I0c63dea7a6e0d3438802dd8c84e8a752ef7fe3f6
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/tests/unit/executor.py')
-rw-r--r-- | testapi/opnfv_testapi/tests/unit/executor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/tests/unit/executor.py b/testapi/opnfv_testapi/tests/unit/executor.py index d08782c..5a8d688 100644 --- a/testapi/opnfv_testapi/tests/unit/executor.py +++ b/testapi/opnfv_testapi/tests/unit/executor.py @@ -91,7 +91,7 @@ def delete(excepted_status, excepted_response): def wrap(self): request = delete_request(self) if isinstance(request, tuple): - status, body = self.delete(request[0], *(request[1])) + status, body = self.delete(*request) else: status, body = self.delete(request) if excepted_status == httplib.OK: |