<commit_before># This hack is required to pin to free (non patent guarded) # version of  erasurecodes
unittest:
  rpm_deps: [python-netifaces]
  run: >
      tox --sitepackages -v -epy27 -- --xunit-file=test_nosetests.xml --with-xunit test/unit 2>&1 | tee ../logs/testrun.log;

pep8:
  rpm_deps: [python-pep8-1.4.5, pyflakes-0.7.3, python-flake8-2.0]
  run: >
      tox  --sitepackages -v -e pep8 2>&1 | tee ../logs/testrun.log;

tempest:
   rpm_deps: [ python-swift-tests ]
   remove_rpm: []
   run: ""
   blacklist: []

# Note: The order of packages is important
rpm_deps_common: [
  git,
  python-tox,
  gcc,
  python-devel,
  python-pip,
  python-pbr,
  python-dns,
  python-eventlet,
  python-greenlet,
  python-paste-deploy,
  python-simplejson,
  python-six,
  libffi-devel,
  pyxattr,
  openstack-swift-account,
  openstack-swift-container,
  openstack-swift-object,
  openstack-swift-proxy
]

rpm_deps_tests_req: [
  python-coverage,
  python-nose,<commit_msg>RHOSP 7 swift - use free version of erasurecodes<commit_after># This hack is required to use free (non patent guarded) version of  erasurecodes
unittest:
  rpm_deps: [python-netifaces]
  run: >
      sudo ln -s /usr/lib64/liberasurecode_rs_vand.so.1.0.1 /usr/lib64/liberasurecode_rs_vand.so;
      sudo ln -s /usr/lib64/libXorcode.so.1.0.1 /usr/lib64/libXorcode.so;
      tox --sitepackages -v -epy27 -- --xunit-file=test_nosetests.xml --with-xunit test/unit 2>&1 | tee ../logs/testrun.log;

pep8:
  rpm_deps: [python-pep8-1.4.5, pyflakes-0.7.3, python-flake8-2.0]
  run: >
      tox  --sitepackages -v -e pep8 2>&1 | tee ../logs/testrun.log;

tempest:
   rpm_deps: [ python-swift-tests ]
   remove_rpm: []
   run: ""
   blacklist: []

# Note: The order of packages is important
rpm_deps_common: [
  git,
  python-tox,
  gcc,
  python-devel,
  python-pip,
  python-pbr,
  python-dns,
  python-eventlet,
  python-greenlet,
  python-paste-deploy,
  python-simplejson,
  python-six,
  libffi-devel,
  pyxattr,
  python-pyeclib,
  openstack-swift-account,
  openstack-swift-container,
  openstack-swift-object,
  openstack-swift-proxy
]

rpm_deps_tests_req: [
  python-coverage,
  python-nose,
{'fraction_non_alphanumeric': 0.13531047265987026, 'fraction_numerical': 0.023632993512511583, 'mean_word_length': 3.1202290076335877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4895013', 'n_tokens_mistral': 941, 'n_tokens_neox': 880, 'n_words': 172}