Project

Profile

Help

Issue #3714

pulp_rpm unit tests failing due to rpmtools module rename to rpmtools_yum

Added by dkliban@redhat.com over 3 years ago. Updated over 2 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

Associated revisions

History

#1 Updated by dkliban@redhat.com over 3 years ago

  • Project changed from Pulp to RPM Support
  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Tags deleted (Pulp 3)

#2 Updated by CodeHeeler over 3 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 38

#3 Updated by jortel@redhat.com over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com

#4 Updated by jortel@redhat.com over 3 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by jortel@redhat.com over 3 years ago

  • Status changed from POST to MODIFIED

#6 Updated by dkliban@redhat.com about 3 years ago

  • Platform Release set to 2.17.0

#7 Updated by dkliban@redhat.com almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#8 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF