Prohibit the importation of a list of libraries
[yardstick.git] / yardstick / benchmark / contexts / dummy.py
index f753003..8ae4b65 100644 (file)
@@ -22,7 +22,7 @@ class DummyContext(Context):
     __context_type__ = "Dummy"
 
     def __init__(self):
-        super(self.__class__, self).__init__()
+        super(DummyContext, self).__init__()
 
     def init(self, attrs):
         pass
@@ -33,7 +33,10 @@ class DummyContext(Context):
 
     def undeploy(self):
         """don't need to undeploy"""
-        pass
+        super(DummyContext, self).undeploy()
 
     def _get_server(self, attr_name):
         return None
+
+    def _get_network(self, attr_name):
+        return None