Skip to content

Conversation

@wvandeun
Copy link
Contributor

No description provided.

@wvandeun wvandeun self-assigned this Jan 10, 2025
@wvandeun wvandeun changed the title Ad possibility to use filters in the SDK client's count method Add possibility to use filters in the SDK client's count method Jan 10, 2025
@codecov
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@@           Coverage Diff            @@
##           develop     #232   +/-   ##
========================================
  Coverage    68.70%   68.71%           
========================================
  Files           82       82           
  Lines         7525     7527    +2     
  Branches      1392     1392           
========================================
+ Hits          5170     5172    +2     
  Misses        1981     1981           
  Partials       374      374           
Flag Coverage Δ
integration-tests 12.91% <50.00%> (+0.06%) ⬆️
python-3.10 44.26% <100.00%> (+0.01%) ⬆️
python-3.11 44.26% <100.00%> (+0.01%) ⬆️
python-3.12 44.26% <100.00%> (+0.01%) ⬆️
python-3.13 44.26% <100.00%> (+0.01%) ⬆️
python-3.9 44.26% <100.00%> (+0.01%) ⬆️
python-filler-3.12 23.76% <0.00%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
infrahub_sdk/client.py 66.97% <100.00%> (+0.07%) ⬆️

assert count == 5


@pytest.mark.parametrize("client_type", client_types)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this test is really checking anything since the payload is static
ideally we should add an integration tests for it

@wvandeun wvandeun requested a review from dgarros January 13, 2025 08:49
@wvandeun wvandeun merged commit 6a00e5e into develop Jan 13, 2025
14 checks passed
@wvandeun wvandeun deleted the wvd-20240110-add-filters-for-count-method branch January 13, 2025 13:01
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.

3 participants