Skip to content

Fix/plugins python package init#13137

Open
DaanHoogland wants to merge 4 commits intomainfrom
fix/plugins-python-package-init
Open

Fix/plugins python package init#13137
DaanHoogland wants to merge 4 commits intomainfrom
fix/plugins-python-package-init

Conversation

@DaanHoogland
Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland commented May 8, 2026

Description

This PR...

Fixes: #3679

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

… packages

The test/integration/plugins directory and its subdirectories were
missing __init__.py files, preventing Python from treating them as
packages. This caused local/relative imports to fail when running
plugin tests in a deployed Marvin environment, making it impossible
to modularize tests for plugins.

Fixes #3679
@boring-cyborg boring-cyborg Bot added component:integration-test Python Warning... Python code Ahead! labels May 8, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.09%. Comparing base (72b99a3) to head (4a99048).

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #13137   +/-   ##
=========================================
  Coverage     18.08%   18.09%           
- Complexity    16718    16720    +2     
=========================================
  Files          6037     6037           
  Lines        542546   542546           
  Branches      66432    66432           
=========================================
+ Hits          98146    98161   +15     
+ Misses       433378   433364   -14     
+ Partials      11022    11021    -1     
Flag Coverage Δ
uitests 3.51% <ø> (ø)
unittests 19.25% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Completes fix for #3679 by adding Python package init files to all
plugin test subdirectories: linstor, quota, scaleio, solidfire,
storpool, tf
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 8, 2026

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

Labels

component:integration-test Python Warning... Python code Ahead!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

marvin tests in plugin directory are not considered to be in python package

1 participant