summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipalib/test_cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_ipalib/test_cli.py')
-rw-r--r--ipatests/test_ipalib/test_cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_ipalib/test_cli.py b/ipatests/test_ipalib/test_cli.py
index 86b366ef4..51ea230c4 100644
--- a/ipatests/test_ipalib/test_cli.py
+++ b/ipatests/test_ipalib/test_cli.py
@@ -76,7 +76,7 @@ def get_cmd_name(i):
return 'cmd_%d' % i
-class DummyCommand(object):
+class DummyCommand:
def __init__(self, name):
self.__name = name
@@ -85,7 +85,7 @@ class DummyCommand(object):
name = property(__get_name)
-class DummyAPI(object):
+class DummyAPI:
def __init__(self, cnt):
self.__cmd = plugable.APINameSpace(self.__cmd_iter(cnt), DummyCommand)