Issue-ID: VFC-1418
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
Change-Id: I2612cf6edd88b5a68860cc157932f03756fc06b6
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()
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)