From 939f1933c8635a18de428c696c97cc5d8600abff Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Mon, 17 Jul 2023 13:30:55 +0000 Subject: Add pylama into checks Checks code with pylama Issue-ID: INT-2222 Signed-off-by: Michal Jagiello Change-Id: If275ef90f21e3049abe72bcf373473b40846005c --- src/onaptests/steps/instantiate/vnf_ala_carte.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/onaptests/steps/instantiate/vnf_ala_carte.py') diff --git a/src/onaptests/steps/instantiate/vnf_ala_carte.py b/src/onaptests/steps/instantiate/vnf_ala_carte.py index eb9896f..379e285 100644 --- a/src/onaptests/steps/instantiate/vnf_ala_carte.py +++ b/src/onaptests/steps/instantiate/vnf_ala_carte.py @@ -103,8 +103,10 @@ class YamlTemplateVnfAlaCarteInstantiateStep(YamlTemplateBaseStep): super().execute() service: Service = Service(self.service_name) customer: Customer = Customer.get_by_global_customer_id(settings.GLOBAL_CUSTOMER_ID) - service_subscription: ServiceSubscription = customer.get_service_subscription_by_service_type(self.service_name) - self._service_instance: ServiceInstance = service_subscription.get_service_instance_by_name(self.service_instance_name) + service_subscription: ServiceSubscription = \ + customer.get_service_subscription_by_service_type(self.service_name) + self._service_instance: ServiceInstance = \ + service_subscription.get_service_instance_by_name(self.service_instance_name) cloud_region: CloudRegion = CloudRegion.get_by_id( cloud_owner=settings.CLOUD_REGION_CLOUD_OWNER, cloud_region_id=settings.CLOUD_REGION_ID, -- cgit 1.2.3-korg