| yadavmr | 58af6b1 | 2019-09-18 15:33:25 +0530 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | |
| 3 | ## |
| 4 | # Copyright 2019 Tech Mahindra Limited |
| 5 | # |
| 6 | # All Rights Reserved. |
| 7 | # |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 9 | # not use this file except in compliance with the License. You may obtain |
| 10 | # a copy of the License at |
| 11 | # |
| 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | # |
| 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 16 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 17 | # License for the specific language governing permissions and limitations |
| 18 | # under the License. |
| 19 | ## |
| 20 | |
| 21 | ## Change log: |
| 22 | # 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 06-aug-2019 : Improvement to the code, robot framework initial seed code. |
| 23 | ## |
| 24 | |
| 25 | |
| 26 | *** Settings *** |
| 27 | Documentation Test Suite to create and delete vim account |
| 28 | Library Collections |
| 29 | Library RequestsLibrary |
| 30 | Library OperatingSystem |
| 31 | Resource ../../lib/api/common.robot |
| 32 | Resource ../../lib/api/vim_lib.robot |
| 33 | Resource ../../resource/api/common.robot |
| 34 | Variables ../../resource/api/variables.py |
| 35 | |
| 36 | Suite Setup Get Auth Token |
| 37 | Suite Teardown Delete All Sessions |
| 38 | |
| 39 | |
| 40 | *** Variables *** |
| 41 | ${vim_id} ${EMPTY} |
| 42 | |
| 43 | |
| 44 | *** Test Cases *** |
| 45 | Create Vim Account |
| 46 | [Tags] comprehensive api_vim_test |
| 47 | [Template] Create Vim |
| 48 | ${vim name} ${account type} ${auth url} ${user} ${password} ${tenant} ${description} |
| 49 | |
| 50 | |
| 51 | Delete Vim Account |
| 52 | [Tags] comprehensive api_vim_test |
| 53 | [Template] Delete Vim |
| 54 | ${vim_id} |