summaryrefslogtreecommitdiffstats
path: root/robot/testsuites/pnf-registration.robot
blob: 78c55ad491c8aa9eca14467e79fcf44bc6cb56dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
*** Settings ***
Documentation     Executes the PNF registration  test cases including setup and teardown
Test Timeout      3m

...

Resource         ../resources/test_templates/pnf_registration_without_SO_template.robot


*** Test Cases ***

Create A&AI antry without SO and succesfully registrate PNF, PNF entry contains: correlation ID, PNF_IPv4_address and PNF_IPv6_address
     [Documentation]  This test is checking creation A&AI entry without SO and succesfull PNF registration
     [Tags]   pnf_registrate   ete
     [Setup]    Initialize PNF entry with correlation ID, PNF_IPv4_address and PNF_IPv6_address
     Create A&AI antry without SO and succesfully registrate PNF  ${PNF_entry_dict}
     [Teardown]  Cleanup PNF entry in A&AI  ${PNF_entry_dict}


*** Keyword ***

Initialize PNF entry with correlation ID, PNF_IPv4_address and PNF_IPv6_address
    [Documentation]  Setup test case variable
    ${PNF_entry_dict}=  Create Dictionary  correlation_id=ABCDEFG1234567  PNF_IPv4_address=13.13.13.13  PNF_IPv6_address=2001:0db8:0:0:0:0:1428:57ab
    Set Test Variable  ${PNF_entry_dict}
    Log  Initial PNF entry ${PNF_entry_dict}