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

Actions #1

Updated by dkliban@redhat.com almost 6 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)
Actions #2

Updated by CodeHeeler almost 6 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 38
Actions #3

Updated by jortel@redhat.com almost 6 years ago

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

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by dkliban@redhat.com over 5 years ago

  • Platform Release set to 2.17.0
Actions #7

Updated by dkliban@redhat.com about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #8

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF