Changed the endpoint_ip and endpoint_prefix attributes of TAP/TUN endpoints for ip...
[nepi.git] / test / util / serializer.py
index 482c12d..993a0f4 100755 (executable)
@@ -88,7 +88,7 @@ ResourceFactory.register_type(Node)
 ResourceFactory.register_type(Interface)
 ResourceFactory.register_type(Link)
 
-class SerializeTestCase(unittest.TestCase):
+class SerializerTestCase(unittest.TestCase):
     def test_serialize(self):
         node_count = 4
         app_count = 2
@@ -132,7 +132,7 @@ class SerializeTestCase(unittest.TestCase):
 
         # Load serialized experiment
         ec2 = ExperimentController.load(filepath)
-        apps = ec2.get_resources_by_type("dummy::Application")
+        apps = ec2.filter_resources("dummy::Application")
         ec2.deploy()
         ec2.wait_finished(apps)
         ec2.shutdown()