Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests #4

Merged
merged 3 commits into from
Sep 17, 2024
Merged

Add unit tests #4

merged 3 commits into from
Sep 17, 2024

Conversation

sevein
Copy link
Member

@sevein sevein commented Sep 17, 2024

Include tests/unit to cover some areas that are not easily tested from tests/integration.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 61.53846% with 5 lines in your changes missing coverage. Please review.

Project coverage is 86.60%. Comparing base (98f52a9) to head (890123b).

Files with missing lines Patch % Lines
clamav_client/clamd.py 60.00% 4 Missing ⚠️
clamav_client/scanner.py 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   84.68%   86.60%   +1.91%     
==========================================
  Files           3        3              
  Lines         320      321       +1     
  Branches       37       37              
==========================================
+ Hits          271      278       +7     
+ Misses         32       29       -3     
+ Partials       17       14       -3     

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

@sevein sevein merged commit 2020cd2 into main Sep 17, 2024
1 check passed
@sevein sevein deleted the dev/unit-tests branch September 17, 2024 09:12
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.

2 participants