Bug 733006

Summary: missing dependency : pytest : ImportError: No module named unittest2
Product: [Fedora] Fedora Reporter: pankaj pandey <pankaj86>
Component: python-logilab-commonAssignee: Brian Lane <bcl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: bcl, mrunge
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-logilab-common-0.57.1-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-15 16:03:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description pankaj pandey 2011-08-24 12:52:00 UTC
Description of problem:
The pytest executable does not run.

Version-Release number of selected component (if applicable):
python-logilab-common-0.53.0-2.fc15.noarch

Steps to Reproduce:
1. install python-logilab-common
2. run in a terminal
 $ pytest
  
Actual results:
$ pytest
Traceback (most recent call last):
  File "/usr/bin/pytest", line 3, in <module>
    from logilab.common.pytest import run
  File "/usr/lib/python2.7/site-packages/logilab/common/pytest.py", line 119, in <module>
    from logilab.common import testlib, STD_BLACKLIST
  File "/usr/lib/python2.7/site-packages/logilab/common/testlib.py", line 63, in <module>
    import unittest2 as unittest
ImportError: No module named unittest2

Expected results:
pytest should not crash but show some useful information

Additional info:
It seems the package is missing dependency on python-unittest2

Comment 1 Brian Lane 2012-03-15 16:03:56 UTC
current release does not traceback w/o unittest2 installed.