Tests unnecessarily use pep8 internals
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Steve Martinelli | ||
python-keystoneclient |
Fix Released
|
Low
|
Steve Martinelli |
Bug Description
test_hacking_
The test also uses a rather unnecessarily baroque method to run only the K333 check; it's really not necessary to mock patch pep8's internals to do this, you can use its public API just as well.
Here's a patch which fixes both issues. I'm really not interested in jumping through fifteen thousand hoops and signing my firstborn over to the openstack foundation just to submit some patches I wrote in the course of distro package fixing. I work for Red Hat, which is (I believe) a corporate member of the the foundation, so I don't even know if it's appropriate/allowed for me to sign up as a personal member.
If it helps, I'm happy to declare this patch available under a very permissive license like CC-0, or just sign it over to a contributor, for the purpose of getting it merged.
Changed in keystone: | |
milestone: | none → ocata-3 |
Changed in keystone: | |
assignee: | Steve Martinelli (stevemar) → Ian Cordasco (icordasc) |
Changed in keystone: | |
assignee: | Ian Cordasco (icordasc) → Steve Martinelli (stevemar) |
>> I'm really not interested in jumping through fifteen thousand hoops and signing my firstborn over to the openstack foundation just to submit some patches
I promise there are only 10-20 hoops and the firstborn is not necessary :)
I'll try and push this upstream on your behalf, thanks for the patch!