diff options
Diffstat (limited to 'components/pm-subscription-handler/tests/test_subscription_handler.py')
-rw-r--r-- | components/pm-subscription-handler/tests/test_subscription_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/pm-subscription-handler/tests/test_subscription_handler.py b/components/pm-subscription-handler/tests/test_subscription_handler.py index ecc45f66..fe338327 100644 --- a/components/pm-subscription-handler/tests/test_subscription_handler.py +++ b/components/pm-subscription-handler/tests/test_subscription_handler.py @@ -76,7 +76,7 @@ class SubscriptionHandlerTest(BaseClassSetup): sub_handler.execute() self.assertEqual(AdministrativeState.UNLOCKED.value, self.app_conf.subscription.administrativeState) - mock_activate_sub.assert_called_with(self.nfs, self.mock_mr_pub, self.app_conf) + mock_activate_sub.assert_called_with(self.nfs, self.mock_mr_pub) @patch('mod.subscription.Subscription.get_network_functions', MagicMock(return_value=nfs)) @patch('mod.pmsh_utils.AppConfig.refresh_config', MagicMock(return_value=get_pmsh_config())) @@ -89,7 +89,7 @@ class SubscriptionHandlerTest(BaseClassSetup): sub_handler = SubscriptionHandler(self.mock_mr_pub, self.mock_mr_sub, self.app, self.app_conf) sub_handler.execute() - mock_deactivate_sub.assert_called_with(self.nfs, self.mock_mr_pub, self.app_conf) + mock_deactivate_sub.assert_called_with(self.nfs, self.mock_mr_pub) @patch('mod.subscription_handler.SubscriptionHandler._start_aai_event_thread', MagicMock()) @patch('mod.pmsh_utils.AppConfig.refresh_config', MagicMock(return_value=get_pmsh_config())) |