<commit_before>### This file is used by cinder component jobs

# Testers. Each tester specifies RPMs to install, RPMs to remove and a set of commands that include the invocation of the tester.
pep8:
    rpm_deps: [ python3-hacking, python3-os-brick ]
    remove_rpm: [ python3-cinder ]
    # for python-os-win see https://projects.engineering.redhat.com/browse/RCM-21021

    pip3_override: []

    archive_run: ''
    run: >
        sudo ln -sf /usr/bin/python3 /usr/bin/python;
        sudo pip-3 install hacking==4.1.0;
        sudo pip-3 install doc8>=0.6.0;
        tox --sitepackages -v -e pep8 2>&1 | tee ../logs/testrun.log;

unittest:
    rpm_deps: [ python3-cliff, python3-requests-mock, python3-webtest, python3-hacking ]
    remove_rpm: [ python3-cinder ]
    archive_run: ''

    pip3_override: [
      pypowervm==1.1.15,
      testresources==2.0.1,
      requests-mock==1.5.2,
      zVMCloudConnector==1.3.0
    ]

    run: |
        sudo pip-3 install moto>=1.3.15;
        tox --sitepackages -v -e py36 2>&1 | tee ../logs/testrun.log;


# python-cinder is installed and then removed to satisfy all runtime
# dependencies for the cinder component.

functional:<commit_msg>[cinder][rhos17] fix error while installing moto<commit_after>### This file is used by cinder component jobs

# Testers. Each tester specifies RPMs to install, RPMs to remove and a set of commands that include the invocation of the tester.
pep8:
    rpm_deps: [ python3-hacking, python3-os-brick ]
    remove_rpm: [ python3-cinder ]
    # for python-os-win see https://projects.engineering.redhat.com/browse/RCM-21021

    pip3_override: []

    archive_run: ''
    run: >
        sudo ln -sf /usr/bin/python3 /usr/bin/python;
        sudo pip-3 install hacking==4.1.0;
        sudo pip-3 install doc8>=0.6.0;
        tox --sitepackages -v -e pep8 2>&1 | tee ../logs/testrun.log;

unittest:
    rpm_deps: [ python3-cliff, python3-requests-mock, python3-webtest, python3-hacking ]
    remove_rpm: [ python3-cinder ]
    archive_run: ''

    pip3_override: [
      pypowervm==1.1.15,
      testresources==2.0.1,
      requests-mock==1.5.2,
      zVMCloudConnector==1.3.0
    ]

    run: |
        sudo pip-3 install --upgrade pip;
        sudo pip-3 install setuptools_rust;
        sudo pip-3 install moto[all];
        tox --sitepackages -v -e py36 2>&1 | tee ../logs/testrun.log;


# python-cinder is installed and then removed to satisfy all runtime
# dependencies for the cinder component.

functional:
{'fraction_non_alphanumeric': 0.11797752808988764, 'fraction_numerical': 0.040930979133226325, 'mean_word_length': 2.66079295154185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 2, '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': '7137767', 'n_tokens_mistral': 930, 'n_tokens_neox': 862, 'n_words': 229}