Remove regression tag from disabled daily tests
[osm/tests.git] / robot-systest / deprecated / testsuite / cli / TS015__Feature_8047_OSMClient_Package_Creation_And_Validation.robot
1 ##
2 # Copyright 2019 Tech Mahindra Limited
3 #
4 # All Rights Reserved.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
7 # not use this file except in compliance with the License. You may obtain
8 # a copy of the License at
9 #
10 #         http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15 # License for the specific language governing permissions and limitations
16 # under the License.
17 ##
18
19 ## Change log:
20 # 1. Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 18-Dec-2019
21 ##
22
23 *** Settings ***
24 Documentation    Test Suite to test OSMClient Package Createtion and Validation Tool
25 Library     OperatingSystem
26 Library     String
27 Library     Collections
28 Resource    ../../lib/cli/osm_package_tools_lib.robot
29
30 Suite Setup    Prerequisite For Test
31 Suite Teardown    Test Cleanup
32
33
34 *** Variables ***
35 ${success_return_code}    0
36 ${base_dir}    ${EXECDIR}
37 ${pkg_dir}    ${CURDIR}${/}../../resource/cli/packages
38 ${ns_pkg}    vEPC
39 ${vnf_pkg}    vEPC
40
41
42 *** Test Cases ***
43 Test OSM NS Package Create
44     [Tags]  comprehensive   feature8047
45     Create OSM NS Package    ${ns_pkg}
46
47
48 Test OSM VNF Package Create
49     [Tags]  comprehensive   feature8047
50     Create OSM VNF Package    ${vnf_pkg}
51
52
53 Test OSM NS Package Validate
54     [Tags]  comprehensive   feature8047
55     Validate OSM NS Package    ${ns_pkg}
56
57
58 Test OSM VNF Package Validate
59     [Tags]  comprehensive   feature8047
60     Validate OSM VNF Package    ${vnf_pkg}
61
62
63 Test OSM VNF Package Build
64     [Tags]  comprehensive   feature8047
65     Build OSM VNF Package    ${vnf_pkg}
66
67
68 Test OSM NS Package Build
69     [Tags]  comprehensive   feature8047
70     Build OSM NS Package    ${ns_pkg}
71
72
73 *** Keywords ***
74 Prerequisite For Test
75     Create Directory    ${pkg_dir}
76     ${rc}   ${stdout}=      Run and Return RC and Output    cd ${pkg_dir}
77     Should Be Equal As Integers    ${rc}    ${success_return_code}
78
79
80 Test Cleanup
81     ${rc}   ${stdout}=      Run and Return RC and Output    cd ${base_dir}
82     Should Be Equal As Integers    ${rc}    ${success_return_code}
83
84     Remove Directory    ${pkg_dir}    recursive=${TRUE}