Actions
Issue #1719
closedTest failure on EL6: ValueError: zero length field name in format
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
Updated by rbarlow about 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to rbarlow
- Triaged changed from No to Yes
- Tags Easy Fix added
I'm going to go ahead and fix this since it causes Jenkies failures and it's easy.
Added by rbarlow about 8 years ago
Updated by rbarlow about 8 years ago
- Status changed from ASSIGNED to POST
Updated by rbarlow about 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset cd48d8ab4e324b668bddceacf3256535e97f478e.
Updated by dkliban@redhat.com about 8 years ago
- Status changed from MODIFIED to 5
Updated by rbarlow about 8 years ago
- Status changed from 5 to 6
Jenkies can verify that the unit tests pass on all supported platforms.
Updated by dkliban@redhat.com about 8 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Actions
Use a Python 2.6 friendly string format syntax.
https://pulp.plan.io/issues/1719
fixes #1719