Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Aug 26, 2024
1 parent b9b1e90 commit 33dd417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_coordinated_workers/test_worker_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ def test_access_status_no_endpoint_raises():
"charms.observability_libs.v0.kubernetes_compute_resources_patch.ResourcePatcher.apply",
MagicMock(return_value=None),
)
def test_status_check_ready_with_patch(ctx, base_state):
def test_status_check_ready_with_patch(ctx, base_state, tls):

with endpoint_ready():
with endpoint_ready(tls):
with config_on_disk():
with patch(
"cosl.coordinated_workers.worker.KubernetesComputeResourcesPatch.get_status",
Expand Down

0 comments on commit 33dd417

Please sign in to comment.