Currently, the FakeSchemaAPI in tests/utils has an overriden __init__
method which simply calls super of FakeAPI and doesn't perform any extra
operations. This is redundant, because same effect will be achieved when
__init__ definition is omitted in FakeSchemaAPI. Additionally it uses
'cls' as first param instead of 'self' which breaks naming convention.
Reviewed: https:/ /review. openstack. org/153202 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=13b5a5ade12 6b39c683f3f8196 8b9350fc0f6ba2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 13b5a5ade126b39 c683f3f81968b93 50fc0f6ba2
Author: Kamil Rykowski <email address hidden>
Date: Thu Feb 5 12:56:00 2015 +0100
Remove redundant FakeSchemaAPI __init__ method
Currently, the FakeSchemaAPI in tests/utils has an overriden __init__
method which simply calls super of FakeAPI and doesn't perform any extra
operations. This is redundant, because same effect will be achieved when
__init__ definition is omitted in FakeSchemaAPI. Additionally it uses
'cls' as first param instead of 'self' which breaks naming convention.
Change-Id: I3e72adfbc7b670 76748f640d74507 ff28c6060d7
Closes-Bug: 1418508