summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/lcm/nf/biz/create_subscription.py2
-rw-r--r--lcm/lcm/nf/tests/test_subscribe_notification.py3
2 files changed, 1 insertions, 4 deletions
diff --git a/lcm/lcm/nf/biz/create_subscription.py b/lcm/lcm/nf/biz/create_subscription.py
index 8c6d4528..164bf6c8 100644
--- a/lcm/lcm/nf/biz/create_subscription.py
+++ b/lcm/lcm/nf/biz/create_subscription.py
@@ -62,7 +62,7 @@ class CreateSubscription:
def do_biz(self):
self.subscription_id = str(uuid.uuid4())
- # self.check_callbackuri_connection()
+ self.check_callbackuri_connection()
self.check_valid_auth_info()
self.check_filter_types()
self.check_valid()
diff --git a/lcm/lcm/nf/tests/test_subscribe_notification.py b/lcm/lcm/nf/tests/test_subscribe_notification.py
index 94c2ff7c..70a309b8 100644
--- a/lcm/lcm/nf/tests/test_subscribe_notification.py
+++ b/lcm/lcm/nf/tests/test_subscribe_notification.py
@@ -174,6 +174,3 @@ class TestSubscription(TestCase):
response = self.client.post("/api/vnflcm/v1/subscriptions", data=miss_callbackUri_subscription, format='json')
self.assertEqual(400, response.status_code)
self.assertEqual({'callbackUri': ['This field is required.']}, response.data['detail'])
- # self.assertEqual(temp_uuid, response.data["id"])
- # response = self.client.post("/api/vnflcm/v1/subscriptions", data=dummy_subscription, format='json')
- # self.assertEqual(303, response.status_code)