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

Task 1: Unit tests for common functions #257

Merged

Conversation

Rahul-JOON
Copy link
Contributor

@Rahul-JOON Rahul-JOON commented May 15, 2023

This PR contains the test cases for the common functions as mentioned in issue #99.

Because the codebase is not broken, all of the test cases are now passing.

@codecov-commenter
Copy link

codecov-commenter commented May 15, 2023

Codecov Report

Patch coverage has no change and project coverage change: +89.21 🎉

Comparison is base (8919072) 0.00% compared to head (ed5af71) 89.21%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@                Coverage Diff                @@
##           update-0.3.2     #257       +/-   ##
=================================================
+ Coverage              0   89.21%   +89.21%     
=================================================
  Files                 0       43       +43     
  Lines                 0     2938     +2938     
  Branches              0      341      +341     
=================================================
+ Hits                  0     2621     +2621     
- Misses                0      288      +288     
- Partials              0       29       +29     

see 43 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@armantekinalp armantekinalp left a comment

Choose a reason for hiding this comment

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

There are couple of minor changes you can see the suggestions.

Also can you rename file name to test_contact_common_functions.py.

tests/test_common_functions.py Outdated Show resolved Hide resolved
tests/test_common_functions.py Outdated Show resolved Hide resolved
tests/test_common_functions.py Outdated Show resolved Hide resolved
tests/test_common_functions.py Outdated Show resolved Hide resolved
tests/test_common_functions.py Outdated Show resolved Hide resolved
tests/test_common_functions.py Outdated Show resolved Hide resolved
tests/test_common_functions.py Outdated Show resolved Hide resolved
Copy link
Contributor

@armantekinalp armantekinalp left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@bhosale2 bhosale2 left a comment

Choose a reason for hiding this comment

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

LGTM. Good job @Rahul-JOON. @armantekinalp you can go ahead with the merge.

@armantekinalp armantekinalp merged commit fc26532 into GazzolaLab:update-0.3.2 May 15, 2023
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.

4 participants