summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/tests/test_network_function.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/pm-subscription-handler/tests/test_network_function.py')
-rwxr-xr-xcomponents/pm-subscription-handler/tests/test_network_function.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/pm-subscription-handler/tests/test_network_function.py b/components/pm-subscription-handler/tests/test_network_function.py
index 4fca0778..138d99ad 100755
--- a/components/pm-subscription-handler/tests/test_network_function.py
+++ b/components/pm-subscription-handler/tests/test_network_function.py
@@ -71,7 +71,8 @@ class NetworkFunctionTests(TestCase):
self.nf_1.create()
self.nf_2.create()
sub = Subscription(**{"subscriptionName": "sub"})
- sub.add_network_functions_to_subscription([self.nf_1, self.nf_2])
+ for nf in [self.nf_1, self.nf_2]:
+ sub.add_network_function_to_subscription(nf)
NetworkFunction.delete(nf_name=self.nf_1.nf_name)