diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2024-01-31 11:06:56 +0100 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2024-01-31 11:41:12 +0100 |
commit | 6a3e189d7fac6ec562f8785c71ed87663ef0c311 (patch) | |
tree | c18e2f00c9e0c13575f515b4662ef65d42457847 /src/onaptests/steps/onboard | |
parent | a7edeebc90bdd335361a7b36f5f5d12a14375554 (diff) |
Changes in the packages sort order
Issue-ID: TEST-402
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I9f8ac40254e6a052c4b3ced5b05e21d7e84fa37f
Diffstat (limited to 'src/onaptests/steps/onboard')
-rw-r--r-- | src/onaptests/steps/onboard/clamp.py | 5 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/msb_k8s.py | 3 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/pnf.py | 1 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/service.py | 2 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/vf.py | 3 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/vsp.py | 1 |
6 files changed, 9 insertions, 6 deletions
diff --git a/src/onaptests/steps/onboard/clamp.py b/src/onaptests/steps/onboard/clamp.py index c2fe191..4d64ee4 100644 --- a/src/onaptests/steps/onboard/clamp.py +++ b/src/onaptests/steps/onboard/clamp.py @@ -1,11 +1,10 @@ #!/usr/bin/python # http://www.apache.org/licenses/LICENSE-2.0 """Clamp Onboard service class.""" -from yaml import load, SafeLoader +from onapsdk.configuration import settings from onapsdk.sdc.service import Service from onapsdk.sdc.vf import Vf - -from onapsdk.configuration import settings +from yaml import SafeLoader, load from ..base import BaseStep, YamlTemplateBaseStep from .service import YamlTemplateVfOnboardStep diff --git a/src/onaptests/steps/onboard/msb_k8s.py b/src/onaptests/steps/onboard/msb_k8s.py index db8d934..7727ea7 100644 --- a/src/onaptests/steps/onboard/msb_k8s.py +++ b/src/onaptests/steps/onboard/msb_k8s.py @@ -4,7 +4,8 @@ from onapsdk.k8s import Definition, Profile from onaptests.steps.base import BaseStep from onaptests.steps.cloud.cloud_region_create import CloudRegionCreateStep -from onaptests.steps.cloud.k8s_connectivity_info_create import K8SConnectivityInfoStep +from onaptests.steps.cloud.k8s_connectivity_info_create import \ + K8SConnectivityInfoStep class CreateDefinitionStep(BaseStep): diff --git a/src/onaptests/steps/onboard/pnf.py b/src/onaptests/steps/onboard/pnf.py index 8e0cd12..9b8119a 100644 --- a/src/onaptests/steps/onboard/pnf.py +++ b/src/onaptests/steps/onboard/pnf.py @@ -4,6 +4,7 @@ from onapsdk.configuration import settings from onapsdk.sdc.pnf import Pnf from onapsdk.sdc.vendor import Vendor from onapsdk.sdc.vsp import Vsp + from ..base import BaseStep, YamlTemplateBaseStep from .vsp import VspOnboardStep, YamlTemplateVspOnboardStep diff --git a/src/onaptests/steps/onboard/service.py b/src/onaptests/steps/onboard/service.py index d2391b3..738454f 100644 --- a/src/onaptests/steps/onboard/service.py +++ b/src/onaptests/steps/onboard/service.py @@ -1,6 +1,5 @@ import time from typing import Any, Dict -from yaml import load, SafeLoader import onapsdk.constants as onapsdk_const from onapsdk.configuration import settings @@ -11,6 +10,7 @@ from onapsdk.sdc.properties import ComponentProperty from onapsdk.sdc.service import Service, ServiceInstantiationType from onapsdk.sdc.vf import Vf from onapsdk.sdc.vl import Vl +from yaml import SafeLoader, load from ..base import BaseStep, YamlTemplateBaseStep from .pnf import PnfOnboardStep, YamlTemplatePnfOnboardStep diff --git a/src/onaptests/steps/onboard/vf.py b/src/onaptests/steps/onboard/vf.py index 0c68835..e3a4cf8 100644 --- a/src/onaptests/steps/onboard/vf.py +++ b/src/onaptests/steps/onboard/vf.py @@ -1,9 +1,10 @@ -from pathlib import Path import time +from pathlib import Path from onapsdk.configuration import settings from onapsdk.sdc.vf import Vf from onapsdk.sdc.vsp import Vsp + from onaptests.utils.resources import get_resource_location from ..base import BaseStep, YamlTemplateBaseStep diff --git a/src/onaptests/steps/onboard/vsp.py b/src/onaptests/steps/onboard/vsp.py index 36e78df..24bae77 100644 --- a/src/onaptests/steps/onboard/vsp.py +++ b/src/onaptests/steps/onboard/vsp.py @@ -1,6 +1,7 @@ from onapsdk.configuration import settings from onapsdk.sdc.vendor import Vendor from onapsdk.sdc.vsp import Vsp + from onaptests.utils.resources import get_resource_location from ..base import BaseStep, YamlTemplateBaseStep |