- ee_id, _ = await self.helm_conn.create_execution_environment(namespace,
- db_dict,
- artifact_path=artifact_path,
- vca_type="helm-v3")
- self.assertEqual(ee_id, "{}:{}.{}".format("helm-v3", "osm", helm_chart_id),
- "Check ee_id format: <helm-version>:<default namespace>.<helm_chart-id>")
- self.helm_conn._k8sclusterhelm3.install.assert_called_once_with("myk8s_id",
- kdu_model="/helm_sample_charm",
- namespace="osm", db_dict=db_dict,
- params=None, timeout=None)
+ ee_id, _ = await self.helm_conn.create_execution_environment(
+ namespace, db_dict, artifact_path=artifact_path, vca_type="helm-v3"
+ )
+ self.assertEqual(
+ ee_id,
+ "{}:{}.{}".format("helm-v3", "osm", helm_chart_id),
+ "Check ee_id format: <helm-version>:<default namespace>.<helm_chart-id>",
+ )
+ self.helm_conn._k8sclusterhelm3.install.assert_called_once_with(
+ "myk8s_id",
+ kdu_model="/helm_sample_charm",
+ kdu_instance=helm_chart_id,
+ namespace="osm",
+ db_dict=db_dict,
+ params=None,
+ timeout=None,
+ )