<commit_before>#
# Copyright 2016, Gridtec
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

describe package('git') do
  it { should be_installed }
end

describe package('curl') do
  it { should be_installed }
end

describe package('openssl') do
  it { should be_installed }
end

describe package('python') do
  it { should be_installed }
end

describe package('python-beaker') do
  it { should be_installed }
end

describe package('python-beautifulsoup4') do
  it { should be_installed }
end

describe package('python-feedparser') do
  it { should be_installed }
end

describe package('python-flup') do
  it { should be_installed }
end

describe package('python-html5lib') do
  it { should be_installed }
end

describe package('python-jinja2') do
  it { should be_installed }
end

describe package('python-pycurl') do
  it { should be_installed }
end

describe package('pyOpenSSL') do
  it { should be_installed }
end

describe package('PyQt4') do
  it { should be_installed }
end

describe package('python-simplejson') do
  it { should be_installed }
end

describe package('js') do
  it { should be_installed }
end

describe package('rhino') do
  it { should be_installed }
end

describe package('tesseract') do
  it { should be_installed }
end

if os[:release].to_f < 7
  describe package('python-crypto') do
    it { should be_installed }
  end

  describe package('Django14') do
    it { should be_installed }
  end

  describe package('python-imaging') do
    it { should be_installed }
  end
else
  describe package('python2-crypto') do
    it { should be_installed }
  end

  describe package('python-django') do
    it { should be_installed }
  end

  describe package('python-thrift') do
    it { should be_installed }
  end

  describe package('python-pillow') do
    it { should be_installed }
  end
end<commit_msg>fixing rhel packages tests<commit_after>#
# Copyright 2016, Gridtec
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

describe package('git') do
  it { should be_installed }
end

describe package('curl') do
  it { should be_installed }
end

describe package('openssl') do
  it { should be_installed }
end

describe package('python') do
  it { should be_installed }
end

describe package('python-beaker') do
  it { should be_installed }
end

describe package('python-beautifulsoup4') do
  it { should be_installed }
end

describe package('python-feedparser') do
  it { should be_installed }
end

describe package('python-flup') do
  it { should be_installed }
end

describe package('python-html5lib') do
  it { should be_installed }
end

describe package('python-jinja2') do
  it { should be_installed }
end

describe package('python-pycurl') do
  it { should be_installed }
end

describe package('pyOpenSSL') do
  it { should be_installed }
end

describe package('PyQt4') do
  it { should be_installed }
end

describe package('js') do
  it { should be_installed }
end

describe package('rhino') do
  it { should be_installed }
end

describe package('tesseract') do
  it { should be_installed }
end

if os[:release].to_f < 7
  describe package('python-crypto') do
    it { should be_installed }
  end

  describe package('Django14') do
    it { should be_installed }
  end

  describe package('python-simplejson') do
    it { should be_installed }
  end

  describe package('python-imaging') do
    it { should be_installed }
  end
else
  describe package('python2-crypto') do
    it { should be_installed }
  end

  describe package('python-django') do
    it { should be_installed }
  end

  describe package('python2-simplejson') do
    it { should be_installed }
  end

  describe package('python-thrift') do
    it { should be_installed }
  end

  describe package('python-pillow') do
    it { should be_installed }
  end
end
{'fraction_non_alphanumeric': 0.08811777076761304, 'fraction_numerical': 0.00694006309148265, 'mean_word_length': 4.001051524710831, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5624876', 'n_tokens_mistral': 1515, 'n_tokens_neox': 1396, 'n_words': 519}