Actions
Issue #3714
closedpulp_rpm unit tests failing due to rpmtools module rename to rpmtools_yum
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.17.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 38
Quarter:
Description
The changes introduced here[0] did not fix the unit tests. The problem is only with the unit test itself.
======================================================================
ERROR: Failure: ImportError (No module named rpmtools)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/jenkins/workspace/unittest-pulp_rpm-pr/node-type/f27-np/plugin/handlers/test/unit/handlers/test_rpmtools.py", line 8, in <module>
from pulp_rpm.handlers.rpmtools import (
ImportError: No module named rpmtools
Actions
Fix unit tests. closes #3714