@@ -127,7 +127,7 @@ def up(self):
127
127
plural = "appwrappers" ,
128
128
body = aw ,
129
129
)
130
- except Exception as e :
130
+ except Exception as e : # pragma: no cover
131
131
return _kube_api_error_handling (e )
132
132
133
133
def down (self ):
@@ -146,7 +146,7 @@ def down(self):
146
146
plural = "appwrappers" ,
147
147
name = self .app_wrapper_name ,
148
148
)
149
- except Exception as e :
149
+ except Exception as e : # pragma: no cover
150
150
return _kube_api_error_handling (e )
151
151
152
152
def status (
@@ -257,7 +257,7 @@ def cluster_dashboard_uri(self) -> str:
257
257
namespace = self .config .namespace ,
258
258
plural = "routes" ,
259
259
)
260
- except Exception as e :
260
+ except Exception as e : # pragma: no cover
261
261
return _kube_api_error_handling (e )
262
262
263
263
for route in routes ["items" ]:
@@ -374,7 +374,7 @@ def _app_wrapper_status(name, namespace="default") -> Optional[AppWrapper]:
374
374
namespace = namespace ,
375
375
plural = "appwrappers" ,
376
376
)
377
- except Exception as e :
377
+ except Exception as e : # pragma: no cover
378
378
return _kube_api_error_handling (e )
379
379
380
380
for aw in aws ["items" ]:
@@ -393,7 +393,7 @@ def _ray_cluster_status(name, namespace="default") -> Optional[RayCluster]:
393
393
namespace = namespace ,
394
394
plural = "rayclusters" ,
395
395
)
396
- except Exception as e :
396
+ except Exception as e : # pragma: no cover
397
397
return _kube_api_error_handling (e )
398
398
399
399
for rc in rcs ["items" ]:
@@ -413,7 +413,7 @@ def _get_ray_clusters(namespace="default") -> List[RayCluster]:
413
413
namespace = namespace ,
414
414
plural = "rayclusters" ,
415
415
)
416
- except Exception as e :
416
+ except Exception as e : # pragma: no cover
417
417
return _kube_api_error_handling (e )
418
418
419
419
for rc in rcs ["items" ]:
@@ -435,7 +435,7 @@ def _get_app_wrappers(
435
435
namespace = namespace ,
436
436
plural = "appwrappers" ,
437
437
)
438
- except Exception as e :
438
+ except Exception as e : # pragma: no cover
439
439
return _kube_api_error_handling (e )
440
440
441
441
for item in aws ["items" ]:
0 commit comments