X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fbenchmark%2Fcontexts%2Fdummy.py;h=8ae4b65b8cb0245ee7f764d8032b3f226861a9bc;hb=306c2408c3ea30dc53d5883cebc3550f8cb7ebbc;hp=0e76b5a8290eed53a3c7a4eb6807337ccd654ba6;hpb=f07176fddfce0e919cc791092cdd968fdf661346;p=yardstick.git diff --git a/yardstick/benchmark/contexts/dummy.py b/yardstick/benchmark/contexts/dummy.py index 0e76b5a82..8ae4b65b8 100644 --- a/yardstick/benchmark/contexts/dummy.py +++ b/yardstick/benchmark/contexts/dummy.py @@ -17,23 +17,26 @@ LOG = logging.getLogger(__name__) class DummyContext(Context): - '''Class that handle dummy info''' + """Class that handle dummy info""" __context_type__ = "Dummy" def __init__(self): - super(self.__class__, self).__init__() + super(DummyContext, self).__init__() def init(self, attrs): pass def deploy(self): - '''don't need to deploy''' + """don't need to deploy""" pass def undeploy(self): - '''don't need to undeploy''' - pass + """don't need to undeploy""" + super(DummyContext, self).undeploy() def _get_server(self, attr_name): return None + + def _get_network(self, attr_name): + return None