Skip to content

Conversation

@ogenstad
Copy link
Contributor

Fixes #166

@codecov
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 42.85714% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/pytest_plugin/items/base.py 50.00% 4 Missing ⚠️
infrahub_sdk/pytest_plugin/items/check.py 33.33% 2 Missing ⚠️
...frahub_sdk/pytest_plugin/items/python_transform.py 33.33% 2 Missing ⚠️
@@             Coverage Diff             @@
##           develop     #171      +/-   ##
===========================================
- Coverage    65.47%   65.43%   -0.04%     
===========================================
  Files           81       81              
  Lines         7249     7259      +10     
  Branches      1407     1409       +2     
===========================================
+ Hits          4746     4750       +4     
- Misses        2116     2122       +6     
  Partials       387      387              
Flag Coverage Δ
python-3.10 43.69% <0.00%> (-0.07%) ⬇️
python-3.11 43.69% <0.00%> (-0.07%) ⬇️
python-3.12 43.69% <0.00%> (-0.07%) ⬇️
python-3.13 43.69% <0.00%> (-0.07%) ⬇️
python-3.9 42.80% <0.00%> (-0.06%) ⬇️
python-filler-3.12 24.45% <42.85%> (+0.02%) ⬆️

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

Files with missing lines Coverage Δ
infrahub_sdk/_importer.py 74.28% <ø> (ø)
infrahub_sdk/pytest_plugin/items/check.py 44.44% <33.33%> (-1.02%) ⬇️
...frahub_sdk/pytest_plugin/items/python_transform.py 40.81% <33.33%> (-0.86%) ⬇️
infrahub_sdk/pytest_plugin/items/base.py 62.50% <50.00%> (-3.13%) ⬇️

@ogenstad ogenstad force-pushed the pog-pytest-relative-imports-IHS-72 branch from 2c4e1b1 to 5bb9012 Compare December 30, 2024 12:22
@ogenstad ogenstad marked this pull request as ready for review December 30, 2024 12:44
@ogenstad ogenstad force-pushed the pog-pytest-relative-imports-IHS-72 branch from 5bb9012 to 34337bc Compare December 30, 2024 13:07
@ogenstad ogenstad requested a review from a team December 30, 2024 13:14
@ogenstad ogenstad merged commit 6af9188 into develop Dec 30, 2024
13 checks passed
@ogenstad ogenstad deleted the pog-pytest-relative-imports-IHS-72 branch December 30, 2024 13:45
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.

bug: pytest plugin does not support the usage of relative imports

3 participants