X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcloudtaf.git;a=blobdiff_plain;f=testcases%2F__init__.robot;fp=testcases%2F__init__.robot;h=f19964aae994c17db1179205f1073d9fd347539c;hp=0000000000000000000000000000000000000000;hb=d448b9388fd9cb3732e35996b98f493a5a5921d4;hpb=07c5f13d2429236a603c867e09c4cc3b42e75826 diff --git a/testcases/__init__.robot b/testcases/__init__.robot new file mode 100644 index 0000000..f19964a --- /dev/null +++ b/testcases/__init__.robot @@ -0,0 +1,32 @@ +# Copyright 2019 Nokia +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +*** Settings *** + +Library cluster.cluster.Cluster WITH NAME Cluster +Library crl.remotesession.remotesession.RemoteSession + ... WITH NAME RemoteSession +Suite Setup Setup Suite +Suite Teardown Teardown Suite + +*** Keywords *** + +Setup Suite + ${master}= Get Variable Value ${RFCLI_TARGET_1.MASTER_PROFILE} caas_master + ${worker}= Get Variable Value ${RFCLI_TARGET_1.WORKER_PROFILE} caas_worker + Cluster.Set Profiles master=${master} worker=${worker} + +Teardown Suite + Run Keyword And Ignore Error Cluster.Delete Users + RemoteSession.Close