Project

Profile

Help

Issue #1719

closed

Test failure on EL6: ValueError: zero length field name in format

Added by rbarlow about 8 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Python:
master
Platform Release:
Target Release - Python:
1.1.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

I believe this change might be new in the Pulp 2.8 distribution.

Traceback (most recent call last):
  File "/usr/lib64/python2.6/unittest.py", line 278, in run
    testMethod()
  File "/home/jenkins/workspace/unittest-pulp_python-pr/node-type/rhel6-np/plugin/plugins/test/unit/plugins/test_models.py", line 594, in test___repr__
    self.assertEqual(repr(pp), 'Package(name=foo, version=1.0.0)')
  File "/home/jenkins/workspace/unittest-pulp_python-pr/node-type/rhel6-np/plugin/plugins/pulp_python/plugins/models.py", line 183, in __repr__
    return 'Package(name={}, version={})'.format(self.name, self.version)
ValueError: zero length field name in format

Also available in: Atom PDF