Update create_execution_environment to pass the chart_model
[osm/LCM.git] / osm_lcm / tests / test_lcm_helm_conn.py
index 89ca891..7116517 100644 (file)
@@ -63,6 +63,7 @@ class TestLcmHelmConn(asynctest.TestCase):
         namespace = "testnamespace"
         db_dict = {}
         artifact_path = "helm_sample_charm"
+        chart_model = "helm_sample_charm"
         helm_chart_id = "helm_sample_charm_0001"
         self.helm_conn._k8sclusterhelm3.install = asynctest.CoroutineMock(
             return_value=None
@@ -78,7 +79,8 @@ class TestLcmHelmConn(asynctest.TestCase):
 
         self.db.get_one.return_value = {"_admin": {"helm-chart-v3": {"id": "myk8s_id"}}}
         ee_id, _ = await self.helm_conn.create_execution_environment(
-            namespace, db_dict, artifact_path=artifact_path, vca_type="helm-v3"
+            namespace, db_dict, artifact_path=artifact_path,
+            chart_model=chart_model, vca_type="helm-v3"
         )
         self.assertEqual(
             ee_id,