X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Ftest_setup.robot;h=941b90490aae3476862cfda97cda91b8fb15a983;hp=c90ed68a7983eec27e105a01904c06b972c2e247;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hpb=ed0258a440cfad7023d643f717ab78ac568dc59b diff --git a/resources/libraries/robot/shared/test_setup.robot b/resources/libraries/robot/shared/test_setup.robot index c90ed68a79..941b90490a 100644 --- a/resources/libraries/robot/shared/test_setup.robot +++ b/resources/libraries/robot/shared/test_setup.robot @@ -15,27 +15,29 @@ *** Settings *** | Library | resources.libraries.python.PapiHistory -| ... +| | Documentation | Test Setup keywords. *** Keywords *** | Setup test | | [Documentation] | | ... | Common test setup for tests. -| | ... +| | | | ... | *Arguments:* | | ... | - ${actions} - Additional setup action. Type: list -| | ... +| | | | [Arguments] | @{actions} -| | ... +| | | | Reset PAPI History On All DUTs | ${nodes} | | Create base startup configuration of VPP on all DUTs -| | :FOR | ${action} | IN | @{actions} +| | FOR | ${action} | IN | @{actions} | | | Run Keyword | Additional Test Setup Action For ${action} +| | END | Additional Test Setup Action For namespace | | [Documentation] | | ... | Additional Setup for tests which uses namespace. -| | ... -| | :FOR | ${dut} | IN | @{duts} +| | +| | FOR | ${dut} | IN | @{duts} | | | Clean Up Namespaces | ${nodes['${dut}']} +| | END