Skip to content

test(refactor): add test for moving module referenced by relative import - #916

Open
mcepl wants to merge 1 commit into
masterfrom
move-relative-import-bug
Open

mcepl wants to merge 1 commit into
masterfrom
move-relative-import-bug

Conversation

@mcepl

@mcepl mcepl commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Add a test case verifying that moving a module referenced via an explicit relative import correctly updates the import statement in the importing module to an absolute import pointing to the new destination package.

Fixes #202

Checklist (delete if not relevant):

  • I have added tests that prove my fix is effective or that my feature works

Add a test case verifying that moving a module referenced via an
explicit relative import correctly updates the import statement
in the importing module to an absolute import pointing to the new
destination package.

Fixes #202
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.34%. Comparing base (05b25ba) to head (0b58a21).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #916   +/-   ##
=======================================
  Coverage   95.34%   95.34%           
=======================================
  Files         134      134           
  Lines       26762    26768    +6     
=======================================
+ Hits        25516    25522    +6     
  Misses       1246     1246           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mcepl
mcepl requested a review from lieryan October 26, 2026 20:36

This branch has not been deployed

No deployments
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.

move/rename refactoring failures in combination with relative imports

2 participants