Skip to content

test: move tests/test_litellm/integrations/zerobus into tests/unit/integrations - #43239

Closed
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
litellm_move_zerobus_tests_to_unit
Closed

devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
litellm_move_zerobus_tests_to_unit

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

How it solves it:

  • git mv the three zerobus test files into tests/unit/integrations/zerobus, no content changes
  • tests/test_litellm/integrations is now empty, so both coverage scripts pass

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests (pure move, existing 45 tests unchanged)
  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*, make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review (Greptile reviews automatically once the PR is opened; only comment @greptileai to re-request a review after pushing changes)

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

Screenshots / Proof of Fix

On main before this change:

$ python .github/scripts/assert_ci_coverage.py
ERROR: test files that no CI job invokes
  - tests/test_litellm/integrations/zerobus: 3 test file(s) invoked by no job: test_zerobus_client.py, test_zerobus_logger.py, test_zerobus_row.py
$ python .github/scripts/assert_ci_coverage.py --shards
ERROR: test directories and files that no shard claims
  - tests/test_litellm/integrations: holds tests but no shard of tests/test_litellm names it

With this change:

$ python .github/scripts/assert_ci_coverage.py
OK: 3066 test files and 10 Dockerfiles are each invoked by at least one job or carry an explicit allowlist entry.
$ python .github/scripts/assert_ci_coverage.py --shards
OK: all 138 test children across 2 sharded trees are assigned to a shard.
$ pytest tests/unit/integrations/zerobus -q
45 passed, 1 warning in 0.40s

Link to Devin session: https://app.devin.ai/sessions/8561a090c2af444b9dbfeeaf721a702c
Open in Devin Desktop: https://app.devin.ai/desktop/session/8561a090c2af444b9dbfeeaf721a702c?variant=devin
Requested by: @mrinal-berri

…tegrations

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@greptile-apps

greptile-apps Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Reorganizes test files into a different directory.

The PR appears safe to merge; no actionable issue was identified.

Summary

The PR moves three unchanged Zerobus test files into the unit integrations tree so the existing integrations test selection can run them.

  • The destination is selected by the integrations CI job.
  • No actionable issue was identified.

Reviews (1) · Last reviewed commit: "test: move tests/test_litellm/integratio..."

@codecov

codecov Bot commented Sep 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant