diff options
author | 2022-01-11 23:23:25 +0000 | |
---|---|---|
committer | 2022-01-11 23:23:25 +0000 | |
commit | 54b8d2537deba7fdc8c9e63fc73e97ecdc63368a (patch) | |
tree | 0272608e012c14f307d42071d9a3687b142f871c /components/pm-subscription-handler/tests/test_controller.py | |
parent | 53eb6e657adf157d0536b4cf972c14a2344e6508 (diff) | |
parent | 33f78d6a26ab2f8116cf400faf66c8b8fa08793a (diff) |
Merge "[DCAEGEN2] PMSH Lazy loading error fix"
Diffstat (limited to 'components/pm-subscription-handler/tests/test_controller.py')
-rwxr-xr-x | components/pm-subscription-handler/tests/test_controller.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/pm-subscription-handler/tests/test_controller.py b/components/pm-subscription-handler/tests/test_controller.py index 962e8fb2..fa96c319 100755 --- a/components/pm-subscription-handler/tests/test_controller.py +++ b/components/pm-subscription-handler/tests/test_controller.py @@ -1,5 +1,5 @@ # ============LICENSE_START=================================================== -# Copyright (C) 2019-2021 Nordix Foundation. +# Copyright (C) 2019-2022 Nordix Foundation. # ============================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -153,6 +153,9 @@ class ControllerTestCase(BaseClassSetup): self.assertEqual(subs[1]['subscription']['measurementGroups'][0]['measurementGroup'] ['measurementGroupName'], 'MG1') self.assertEqual(len(subs[1]['subscription']['measurementGroups']), 2) + self.assertEqual(subs[0]['subscription']['nfs'][0], 'pnf_101') + self.assertEqual(subs[0]['subscription']['nfs'][1], 'pnf_102') + self.assertEqual(subs[1]['subscription']['nfs'], []) self.assertEqual(len(subs), 2) @patch('mod.api.services.subscription_service.query_all_subscriptions', |