aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/sdc/tests/test_vsp.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/sdc/tests/test_vsp.py')
-rw-r--r--onap-client/onap_client/sdc/tests/test_vsp.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/onap-client/onap_client/sdc/tests/test_vsp.py b/onap-client/onap_client/sdc/tests/test_vsp.py
index f14e16e..cd35a90 100644
--- a/onap-client/onap_client/sdc/tests/test_vsp.py
+++ b/onap-client/onap_client/sdc/tests/test_vsp.py
@@ -102,15 +102,16 @@ def test_vsp_create():
mockup_client(oc.sdc.vsp)
vsp = sdc.vsp.VSP(
- "vendor_name",
- LICENSE_MODEL_NAME,
- "{}/test.zip".format(THIS_DIR),
- "application/zip",
- VSP_NAME,
- "description",
- "category",
- "sub_category",
+ vendor_name="vendor_name",
+ license_model_name=LICENSE_MODEL_NAME,
+ file_path="{}/test.zip".format(THIS_DIR),
+ file_type="application/zip",
+ software_product_name=VSP_NAME,
+ description="description",
+ category="category",
+ sub_category="sub_category",
contributers=["test123"],
)
+ vsp.create()
assert vsp.tosca == {"name": VSP_NAME}