Migrating robot-systests to osm/tests repository
[osm/devops.git] / robot-systest / deprecated / testsuite / cli / __init__.robot
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 *** Settings ***
22 Library     OperatingSystem
23 Library     String
24 Library     Collections
25 Library     ../../lib/custom_lib.py
26 Resource    ../../lib/cli/vim_account_lib.robot
27
28 Suite Setup     Wait Until Keyword Succeeds    2x    30sec    VIM Setup To Launch Network Services
29 Suite Teardown     Run Keyword And Ignore Error    Suite Cleanup
30
31
32 *** Variables ***
33 @{vim}
34
35
36 *** Keywords ***
37 Suite Cleanup
38     :FOR    ${vim_id}  IN   @{vim}
39     \   Force Delete Vim Account    ${vim_id}