From ce0655bcdab820f9233a783ed11123fcd775270d Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Wed, 24 Jan 2018 12:17:44 -0800 Subject: [PATCH] Add missing 'self' parameter to class methods The 'self' parameter was missing in the class methods of the DoNotCallPopen class. Add the 'self' parameter to the class methods. Change-Id: I29bed962a97c8b28b3feb266d76243da4b4cab7a --- ironic_lib/tests/base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ironic_lib/tests/base.py b/ironic_lib/tests/base.py index 10756318..6aaeacaa 100644 --- a/ironic_lib/tests/base.py +++ b/ironic_lib/tests/base.py @@ -70,17 +70,17 @@ class DoNotCallPopen(object): def __init__(self, *args, **kwargs): do_not_call(*args, **kwargs) - def communicate(input=None): + def communicate(self, input=None): pass - def kill(): + def kill(self): pass - def poll(): + def poll(self): pass - def terminate(): + def terminate(self): pass - def wait(): + def wait(self): pass