Merge "pylint: Fix E0213 no-self-argument in tests"

This commit is contained in:
Zuul 2021-04-16 20:15:19 +00:00 committed by Gerrit Code Review
commit 67d52fafde
1 changed files with 2 additions and 2 deletions

View File

@ -90,12 +90,12 @@ def create_snapshot(volume_id, size=1, metadata=None, ctxt=None,
class KeyObject(object):
def get_encoded(arg):
def get_encoded(self):
return "asdf".encode('utf-8')
class KeyObject2(object):
def get_encoded(arg):
def get_encoded(self):
return "qwert".encode('utf-8')