File tree Expand file tree Collapse file tree
tests/workbenches/notebook-controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,7 +193,9 @@ def install_packages_in_pod(
193193 _ERR_INVALID_TIMEOUT_INSTALL = "timeout must be positive"
194194 _ERR_POD_NOT_EXISTS_INSTALL = "Pod {pod_name} does not exist"
195195 _ERR_POD_NOT_RUNNING_INSTALL = "Pod {pod_name} is not in Running state (current: {phase})"
196- _ERR_CONTAINER_NOT_FOUND_INSTALL = "Container '{container_name}' not found in pod. Available containers: {containers}"
196+ _ERR_CONTAINER_NOT_FOUND_INSTALL = (
197+ "Container '{container_name}' not found in pod. Available containers: {containers}"
198+ )
197199
198200 # Input validation
199201 if not pod or not isinstance (packages , list ) or not packages :
@@ -213,7 +215,9 @@ def install_packages_in_pod(
213215 # Verify container exists
214216 container_names = [c .name for c in pod .instance .spec .containers ]
215217 if container_name not in container_names :
216- raise RuntimeError (_ERR_CONTAINER_NOT_FOUND_INSTALL .format (container_name = container_name , containers = container_names ))
218+ raise RuntimeError (
219+ _ERR_CONTAINER_NOT_FOUND_INSTALL .format (container_name = container_name , containers = container_names )
220+ )
217221
218222 LOGGER .info (f"Installing { len (packages )} packages in container '{ container_name } ' of pod '{ pod .name } '" )
219223
You can’t perform that action at this time.
0 commit comments