Bug 839487

Summary: renamed test examples in python-nss-doc
Product: Red Hat Enterprise Linux 7 Reporter: Aleš Mareček <amarecek>
Component: python-nssAssignee: John Dennis <jdennis>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: low    
Version: 7.0   
Target Milestone: beta   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 880660 (view as bug list) Environment:
Last Closed: 2012-12-11 14:57:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 880660    

Description Aleš Mareček 2012-07-12 06:03:43 UTC
Description of problem:
Previous version of python-nss-doc in RHEL-6 has different naming of test examples.
RHEL-6:
$ rpm -ql python-nss-doc | grep "^.*\/test\/.*\.py\$"
/usr/share/doc/python-nss-0.11/test/cipher_test.py
/usr/share/doc/python-nss-0.11/test/digest_test.py
/usr/share/doc/python-nss-0.11/test/setup_certs.py
/usr/share/doc/python-nss-0.11/test/test_cert_components.py

RHEL-7:
$ rpm -ql python-nss-doc | grep "^.*\/test\/.*\.py\$"
/usr/share/doc/python-nss-0.12/test/setup_certs.py
/usr/share/doc/python-nss-0.12/test/test_cert_components.py
/usr/share/doc/python-nss-0.12/test/test_cipher.py
/usr/share/doc/python-nss-0.12/test/test_client_server.py
/usr/share/doc/python-nss-0.12/test/test_digest.py
/usr/share/doc/python-nss-0.12/test/test_pkcs12.py


Version-Release number of selected component (if applicable):
python-nss-doc-0.12-3.el7

How reproducible:
Always

Steps to Reproduce:
1. rpm -ql python-nss-doc | grep "^.*\/test\/.*\.py\$"

  
Actual results:
/usr/share/doc/python-nss-<VERISON>/test/test_<SPECIFIC TEST>

Expected results:
Same as in RHEL-6 like: /usr/share/doc/python-nss-<VERISON>/test/<SPECIFICTEST>_test
OR some documentation

Additional info:

Comment 3 John Dennis 2012-12-11 14:57:04 UTC
The test scripts were renamed to make them consistent with Python's automated test frameworks which search for test scripts whose name begins with "test_". Therefore all test scripts now begin with "test_". From this point forward all test scripts in python-nss will follow this convention, it was a mistake they weren't named that way from the beginning.

I don't see how this is a bug, this is a change occurring between RHEL versions which pulls in a different package version. There is no requirement that a new version of RHEL maintain the exact same set of files in a given package.