Updates for Python 3.10 and Ubuntu 22.04
[osm/POL.git] / osm_policy_module / tests / unit / core / test_policy_agent.py
index 43bc508..32d88a2 100644 (file)
@@ -76,7 +76,7 @@ class PolicyAgentTest(unittest.TestCase):
             pass
 
         config = Config()
-        agent = PolicyModuleAgent(config, self.loop)
+        agent = PolicyModuleAgent(config)
         assert autoscaling_lcm_client.called
         assert autoscaling_mon_client.called
         assert alarming_lcm_client.called
@@ -138,7 +138,7 @@ class PolicyAgentTest(unittest.TestCase):
             pass
 
         config = Config()
-        agent = PolicyModuleAgent(config, self.loop)
+        agent = PolicyModuleAgent(config)
         assert autoscaling_lcm_client.called
         assert autoscaling_mon_client.called
         assert alarming_lcm_client.called
@@ -191,7 +191,7 @@ class PolicyAgentTest(unittest.TestCase):
             pass
 
         config = Config()
-        agent = PolicyModuleAgent(config, self.loop)
+        agent = PolicyModuleAgent(config)
         assert autoscaling_lcm_client.called
         assert autoscaling_mon_client.called
         assert alarming_lcm_client.called
@@ -242,7 +242,7 @@ class PolicyAgentTest(unittest.TestCase):
             pass
 
         config = Config()
-        agent = PolicyModuleAgent(config, self.loop)
+        agent = PolicyModuleAgent(config)
         assert autoscaling_lcm_client.called
         assert autoscaling_mon_client.called
         assert alarming_lcm_client.called