<commit_before>*** Settings ***
Documentation     Test suite for the arp handler bundle.
Library           Collections
Library           RequestsLibrary
Library           ../../libraries/Common.py
Library           ../../libraries/ArpHandler.py
Variables         ../../variables/Variables.py

*** Variables ***
${name}           test_subnet1

*** Test Cases ***
Add and remove a subnet
    [Documentation]    Add and remove a subnet. After each operation, list to validate the result.
    [Tags]    add_remove_info
    ${body}    Create Dictionary    name    ${name}    subnet    10.0.0.254/8
    Add Subnet Gateway    ${name}    ${body}
    ${result}    Get Subnets
    Dictionary Should Contain Value    ${result}    'subnetConfig'
    ${values}    Dictionary Values    ${result}
    Should Contain    ${values}    ${body}<commit_msg>arp handler module test suites passed: add and remove a subnet.<commit_after>*** Settings ***
Documentation     Test suite for the arp handler bundle.
Library           Collections
Library           RequestsLibrary
Library           ../../libraries/Common.py
Library           ../../libraries/ArpHandler.py
Variables         ../../variables/Variables.py

*** Variables ***
${name}           test_subnet1

*** Test Cases ***
Add and remove a subnet
    [Documentation]    Add and remove a subnet. After each operation, list to validate the result.
    [Tags]    add_remove_info
    ${body}    Create Dictionary    name    ${name}    subnet    10.0.0.254/8
    Add Subnet Gateway    ${name}    ${body}
    ${result}    Get Subnets
    Dictionary Should Contain Key    ${result}    subnetConfig
    ${subnets}    Get From Dictionary    ${result}    subnetConfig
    List Should Contain Value    ${subnets}    ${body}
    Remove Subnet Gateway    ${name}
    ${result}    Get Subnets
    Dictionary Should Contain Key    ${result}    subnetConfig
    ${subnets}    Get From Dictionary    ${result}    subnetConfig
    List Should Not Contain Value    ${subnets}    ${body}
{'fraction_non_alphanumeric': 0.10229540918163672, 'fraction_numerical': 0.008982035928143712, 'mean_word_length': 2.341666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4483655', 'n_tokens_mistral': 551, 'n_tokens_neox': 527, 'n_words': 189}