(monkeypatch)
| 2522 | |
| 2523 | @pytest.fixture |
| 2524 | def deploy_usage(monkeypatch) -> list[str]: |
| 2525 | features: list[str] = [] |
| 2526 | |
| 2527 | class FakeTelemetry: |
| 2528 | def set_tracer(self) -> None: |
| 2529 | pass |
| 2530 | |
| 2531 | def feature_usage_span(self, feature, attributes=None) -> None: |
| 2532 | features.append(feature) |
| 2533 | |
| 2534 | monkeypatch.setattr("crewai_core.telemetry.Telemetry", FakeTelemetry) |
| 2535 | return features |
| 2536 | |
| 2537 | |
| 2538 | def _deploy_doubles(monkeypatch, *, creates, login): |
nothing calls this directly
no outgoing calls
no test coverage detected