Project

Profile

Help

Issue #3714

closed

pulp_rpm unit tests failing due to rpmtools module rename to rpmtools_yum

Added by dkliban@redhat.com almost 6 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
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

[0] https://github.com/pulp/pulp_rpm/pull/1062/files

Also available in: Atom PDF