@@ -123,7 +123,7 @@ def up(self):
123
123
plural = "appwrappers" ,
124
124
body = aw ,
125
125
)
126
- except Exception as e :
126
+ except Exception as e : # pragma: no cover
127
127
return _kube_api_error_handling (e )
128
128
129
129
def down (self ):
@@ -142,7 +142,7 @@ def down(self):
142
142
plural = "appwrappers" ,
143
143
name = self .app_wrapper_name ,
144
144
)
145
- except Exception as e :
145
+ except Exception as e : # pragma: no cover
146
146
return _kube_api_error_handling (e )
147
147
148
148
def status (
@@ -253,7 +253,7 @@ def cluster_dashboard_uri(self) -> str:
253
253
namespace = self .config .namespace ,
254
254
plural = "routes" ,
255
255
)
256
- except Exception as e :
256
+ except Exception as e : # pragma: no cover
257
257
return _kube_api_error_handling (e )
258
258
259
259
for route in routes ["items" ]:
@@ -370,7 +370,7 @@ def _app_wrapper_status(name, namespace="default") -> Optional[AppWrapper]:
370
370
namespace = namespace ,
371
371
plural = "appwrappers" ,
372
372
)
373
- except Exception as e :
373
+ except Exception as e : # pragma: no cover
374
374
return _kube_api_error_handling (e )
375
375
376
376
for aw in aws ["items" ]:
@@ -389,7 +389,7 @@ def _ray_cluster_status(name, namespace="default") -> Optional[RayCluster]:
389
389
namespace = namespace ,
390
390
plural = "rayclusters" ,
391
391
)
392
- except Exception as e :
392
+ except Exception as e : # pragma: no cover
393
393
return _kube_api_error_handling (e )
394
394
395
395
for rc in rcs ["items" ]:
@@ -409,7 +409,7 @@ def _get_ray_clusters(namespace="default") -> List[RayCluster]:
409
409
namespace = namespace ,
410
410
plural = "rayclusters" ,
411
411
)
412
- except Exception as e :
412
+ except Exception as e : # pragma: no cover
413
413
return _kube_api_error_handling (e )
414
414
415
415
for rc in rcs ["items" ]:
@@ -431,7 +431,7 @@ def _get_app_wrappers(
431
431
namespace = namespace ,
432
432
plural = "appwrappers" ,
433
433
)
434
- except Exception as e :
434
+ except Exception as e : # pragma: no cover
435
435
return _kube_api_error_handling (e )
436
436
437
437
for item in aws ["items" ]:
0 commit comments