<commit_before>*** Settings ***
Library         RunKeywordLibrary
Library         RunKeywordLibrary.RunKeywordButNoGetKeywordNamesLibrary
Library         RunKeywordLibrary.GlobalRunKeywordLibrary
Library         ${CURDIR}/dynamic_libraries/DynamicLibraryWithoutArgspec.py


*** Test Cases ***
Passing, Logging and Returning
    ${ret} =  RunKeywordLibrary. Run Keyword That Passes  Hi  tellus
    Should Be Equal  ${ret}  Hi, tellus

Failing
    [Documentation]  FAIL Failure: Hello world
    RunKeywordLibrary. Run Keyword That Fails  Hello world

Global Dynamic Library
    [Documentation]  FAIL Failure
    ${ret} =  RunKeywordLibrary. GlobalRunKeywordLibrary. RunKeyword That Passes  Hi  tellus  and  Hello  Mars!
    Should Be Equal  ${ret}  Hi, tellus, and, Hello, Mars!
    RunKeywordLibrary. GlobalRunKeywordLibrary. RunKeyword That Fails

Run Keyword in Static Library
    [Documentation]  PASS
    Run Keyword
    Some Other Keyword
    ${ret} =  Run Keyword  return  this
    Should Be Equal  ${ret}  return this
    ${ret} =  Some Other Keyword  this is  returned
    Should Be Equal  ${ret}  this is returned

Not Found Keyword
    [Documentation]  FAIL No keyword with name 'Get Keyword That Does Not Exist' found.
    Get Keyword That Does Not Exist

Dynamic libraries should work without argument specification
    [Documentation]    PASS
    Do Something    print this
    Do Something else    something    something else
    Do Something else    something
    Do Something else    something    y=12


Dynamic libraries should match named arguments same way as with user keywords
    [Documentation]    PASS as these named arguments do not match the keyword's
    ...                argument spec, it should use them as strings to match the
    ...                positional arguments.
    ...                e.g. this should print strings 'x', 'y=1' and 'z=2'
    Do something third    x    y=1    z=2
<commit_msg>Fixed broken test with dynamic libraries<commit_after>*** Settings ***
Library         RunKeywordLibrary
Library         RunKeywordLibrary.RunKeywordButNoGetKeywordNamesLibrary
Library         RunKeywordLibrary.GlobalRunKeywordLibrary
Library         ${CURDIR}/dynamic_libraries/DynamicLibraryWithoutArgspec.py


*** Test Cases ***
Passing, Logging and Returning
    ${ret} =  RunKeywordLibrary. Run Keyword That Passes  Hi  tellus
    Should Be Equal  ${ret}  Hi, tellus

Failing
    [Documentation]  FAIL Failure: Hello world
    RunKeywordLibrary. Run Keyword That Fails  Hello world

Global Dynamic Library
    [Documentation]  FAIL Failure
    ${ret} =  RunKeywordLibrary. GlobalRunKeywordLibrary. RunKeyword That Passes  Hi  tellus  and  Hello  Mars!
    Should Be Equal  ${ret}  Hi, tellus, and, Hello, Mars!
    RunKeywordLibrary. GlobalRunKeywordLibrary. RunKeyword That Fails

Run Keyword in Static Library
    [Documentation]  PASS
    Run Keyword
    Some Other Keyword
    ${ret} =  Run Keyword  return  this
    Should Be Equal  ${ret}  return this
    ${ret} =  Some Other Keyword  this is  returned
    Should Be Equal  ${ret}  this is returned

Not Found Keyword
    [Documentation]  FAIL No keyword with name 'Get Keyword That Does Not Exist' found.
    Get Keyword That Does Not Exist

Dynamic libraries should work without argument specification
    [Documentation]    PASS
    Do Something    print this
    Do Something else    something    something else
    Do Something else    something
    Do Something else    something    y=12

Dynamic libraries should match named arguments same way as with user keywords
    [Documentation]    As these named arguments do not match the keyword's
    ...                argument spec, it should use them as strings to match the
    ...                positional arguments.
    ...                e.g. this should print strings 'x', 'y=1' and 'z=2'
    Do something third    x    y=1    z=2

{'fraction_non_alphanumeric': 0.055083655083655085, 'fraction_numerical': 0.003088803088803089, 'mean_word_length': 2.862823061630219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3518608', 'n_tokens_mistral': 1049, 'n_tokens_neox': 1036, 'n_words': 428}