Skip to content

Add missing __init__.py for tests/post_training packages#3610

Draft
ecnal-cienet wants to merge 1 commit intomainfrom
fix/post_training_init_py
Draft

Add missing __init__.py for tests/post_training packages#3610
ecnal-cienet wants to merge 1 commit intomainfrom
fix/post_training_init_py

Conversation

@ecnal-cienet
Copy link
Copy Markdown
Collaborator

@ecnal-cienet ecnal-cienet commented Apr 8, 2026

Problem

tests/post_training/ and tests/post_training/integration/ were missing
__init__.py, causing pylint to fail with:

E0611: No name 'grpo_trainer_correctness_test' in module 'tests.integration' (no-name-in-module)

This was introduced in #3427 which added files under these directories but
did not register them as Python packages.

Fix

Add __init__.py with the standard license header and pathwaysutils.initialize() to both directories, consistent with other test packages in this repo.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@ecnal-cienet ecnal-cienet force-pushed the fix/post_training_init_py branch from e6568a8 to d536551 Compare April 8, 2026 21:04
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ecnal-cienet ecnal-cienet changed the title Add missing __init__.py for tests/post_training packages Add missing __init__.py for tests/post_training packages Apr 8, 2026
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