-
-
Notifications
You must be signed in to change notification settings - Fork 102
Add full coverage for zero coverage files #1648
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 full coverage for zero coverage files #1648
Conversation
Signed-off-by: bandhan-majumder <[email protected]>
Summary by CodeRabbit
Summary by CodeRabbit
WalkthroughMultiple new test modules have been added, each providing comprehensive unit tests for previously uncovered Django management commands across several backend applications. The tests utilize mocking to isolate command logic, verify control flow, and assert correct handling of various scenarios, exceptions, and output, thereby increasing test coverage for files that previously had none. Changes
Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes were found. All code changes are new test modules directly related to increasing test coverage for previously uncovered files, as specified in the linked issue. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
🧰 Additional context used🪛 Pylint (3.3.7)backend/tests/apps/github/management/commands/github_match_users_test.py[refactor] 204-204: Too many arguments (7/5) (R0913) [refactor] 204-204: Too many positional arguments (7/5) (R0917) [refactor] 224-224: Too many arguments (10/5) (R0913) [refactor] 224-224: Too many positional arguments (10/5) (R0917) [refactor] 271-271: Too many arguments (7/5) (R0913) [refactor] 271-271: Too many positional arguments (7/5) (R0917) [refactor] 292-292: Too many arguments (7/5) (R0913) [refactor] 292-292: Too many positional arguments (7/5) (R0917) backend/tests/apps/owasp/management/commands/owasp_enrich_events_test.py[refactor] 52-52: Too many arguments (6/5) (R0913) [refactor] 52-52: Too many positional arguments (6/5) (R0917) [refactor] 82-82: Too many arguments (6/5) (R0913) [refactor] 82-82: Too many positional arguments (6/5) (R0917) [refactor] 102-102: Too many arguments (6/5) (R0913) [refactor] 102-102: Too many positional arguments (6/5) (R0917) [refactor] 119-119: Too many arguments (6/5) (R0913) [refactor] 119-119: Too many positional arguments (6/5) (R0917) [refactor] 143-143: Too many arguments (6/5) (R0913) [refactor] 143-143: Too many positional arguments (6/5) (R0917) [refactor] 155-155: Too many arguments (6/5) (R0913) [refactor] 155-155: Too many positional arguments (6/5) (R0917) [refactor] 166-166: Too many arguments (6/5) (R0913) [refactor] 166-166: Too many positional arguments (6/5) (R0917) ⏰ Context from checks skipped due to timeout of 90000ms (5)
🔇 Additional comments (14)
✨ Finishing Touches
🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (16)
backend/tests/apps/common/management/commands/restore_backup_test.py (4)
57-60
: Improve exception handling pattern.The
try
-except
-pass
pattern can be replaced withcontextlib.suppress
for cleaner code, and catching broad exceptions should be avoided in tests.+import contextlib + - try: - command.handle() - except Exception: - pass + with contextlib.suppress(Exception): + command.handle()
85-88
: Improve exception handling pattern.Same issue as above - replace
try
-except
-pass
withcontextlib.suppress
.- try: - command.handle() - except Exception: - pass + with contextlib.suppress(Exception): + command.handle()
115-118
: Improve exception handling pattern.Same issue as above - replace
try
-except
-pass
withcontextlib.suppress
.- try: - command.handle() - except Exception: - pass + with contextlib.suppress(Exception): + command.handle()
63-63
: Remove whitespace from blank lines.Clean up formatting by removing trailing whitespace from blank lines.
- +Also applies to: 66-66, 91-91
backend/tests/apps/github/management/commands/github_update_users_test.py (3)
56-56
: Simplify handle method calls.Remove unnecessary dict kwargs when calling the handle method.
- command.handle(**{"offset": 0}) + command.handle(offset=0)Apply similar changes to other occurrences.
Also applies to: 104-104, 140-140, 173-173, 199-199, 229-229
75-79
: Remove unused variable.The
calls
variable is assigned but never used.- assert mock_user.bulk_save.call_count == 2 - calls = [ - (([mock_user1, mock_user2],), {'fields': ('contributions_count',)}), - (([mock_user1, mock_user2, mock_user3],), {'fields': ('contributions_count',)}) - ] + assert mock_user.bulk_save.call_count == 2 assert mock_user.bulk_save.call_args_list[-1][0][0] == [mock_user1, mock_user2, mock_user3]
24-24
: Clean up formatting.Remove whitespace from blank lines.
- +Also applies to: 26-26
backend/tests/apps/github/management/commands/github_match_users_test.py (3)
47-60
: Fix parametrize decorator format and clean up whitespace.The parametrize decorator should use a tuple instead of a string, and trailing whitespace should be removed.
- @pytest.mark.parametrize( - "login, name, expected", + @pytest.mark.parametrize( + ("login", "name", "expected"), [ - ("validlogin", "Valid Name", True), - ("ok", "Valid Name", True), - ("validlogin", "V", False), - ("v", "Valid Name", False), - ("v", "V", False), - ("", "", False), - ("validlogin", "", False), - ("", "Valid Name", False), - ("validlogin", None, False), + ("validlogin", "Valid Name", True), + ("ok", "Valid Name", True), + ("validlogin", "V", False), + ("v", "Valid Name", False), + ("v", "V", False), + ("", "", False), + ("validlogin", "", False), + ("", "Valid Name", False), + ("validlogin", None, False), ], - ) + )
201-206
: Fix parametrize decorator format.Same issue with parametrize decorator format.
- @pytest.mark.parametrize("model_name, model_class_str, relation_field", [ + @pytest.mark.parametrize( + ("model_name", "model_class_str", "relation_field"), + [ ("chapter", "Chapter", "suggested_leaders"), ("committee", "Committee", "suggested_leaders"), ("project", "Project", "suggested_leaders"), ("member", "Member", "suggested_users"), - ]) + ], + )
257-257
: Replace getattr with direct attribute access.Since the attribute name is constant, direct access is clearer and safer.
- getattr(mock_chapter_instance, "suggested_leaders").set.assert_called_once_with(set()) + mock_chapter_instance.suggested_leaders.set.assert_called_once_with(set())Also applies to: 274-274
backend/tests/apps/owasp/management/commands/owasp_update_sponsors_test.py (1)
63-63
: Fix line length issue.This line exceeds the 99-character limit.
- mock_get_content.return_value = "- name: Valid Sponsor\n url: https://valid.com\n- name: Invalid Sponsor\n url: https://invalid.com\n" + mock_yaml_content = ( + "- name: Valid Sponsor\n url: https://valid.com\n" + "- name: Invalid Sponsor\n url: https://invalid.com\n" + ) + mock_get_content.return_value = mock_yaml_contentbackend/tests/apps/owasp/management/commands/owasp_update_events_test.py (2)
67-67
: Remove whitespace from blank line.Clean up formatting by removing trailing whitespace.
- +
70-72
: Fix quote consistency and line length.Use consistent double quotes and break long lines for better readability.
mock_event.update_data.assert_has_calls([ - call("Global Events", {'name': 'Global AppSec', 'url': 'https://globalappsec.com'}, save=False), - call("Regional Events", {'name': 'AppSec Conference', 'url': 'https://appsecconf.org'}, save=False), - call("Regional Events", {'name': 'AppSec EU', 'url': 'https://appseceu.org'}, save=False), + call( + "Global Events", + {"name": "Global AppSec", "url": "https://globalappsec.com"}, + save=False, + ), + call( + "Regional Events", + {"name": "AppSec Conference", "url": "https://appsecconf.org"}, + save=False, + ), + call( + "Regional Events", + {"name": "AppSec EU", "url": "https://appseceu.org"}, + save=False, + ), ], any_order=True)backend/tests/apps/owasp/management/commands/owasp_enrich_events_test.py (3)
3-3
: Remove unused import.The
call
import fromunittest.mock
is not used anywhere in the test file.-from unittest.mock import MagicMock, patch, call +from unittest.mock import MagicMock, patch
79-79
: Fix formatting issues to comply with project standards.Several lines exceed the 99-character limit and some blank lines contain whitespace. Please address these formatting issues:
Lines that need to be shortened (consider breaking long lines):
- Line 79: Method definition
- Line 102: Mock object definition
- Line 112: Method definition
- Line 150: Comment line
- Line 154: Assertion line
Also remove whitespace from blank lines 111, 128, and 138.
Also applies to: 102-102, 111-111, 112-112, 128-128, 138-138, 150-150, 154-154
51-177
: Consider extracting common mock setup to reduce duplication.While the current test structure is clear and explicit, you could reduce some duplication by extracting common mock event setup into helper methods:
def _create_mock_event(self, summary=None, suggested_location=None, latitude=None, longitude=None, url="http://example.com/event"): """Create a mock event instance with specified attributes.""" return MagicMock( url=url, summary=summary, suggested_location=suggested_location, latitude=latitude, longitude=longitude )This would make individual tests more concise while maintaining clarity about what data each test is using.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (6)
backend/tests/apps/common/management/commands/restore_backup_test.py
(1 hunks)backend/tests/apps/github/management/commands/github_match_users_test.py
(1 hunks)backend/tests/apps/github/management/commands/github_update_users_test.py
(1 hunks)backend/tests/apps/owasp/management/commands/owasp_enrich_events_test.py
(1 hunks)backend/tests/apps/owasp/management/commands/owasp_update_events_test.py
(1 hunks)backend/tests/apps/owasp/management/commands/owasp_update_sponsors_test.py
(1 hunks)
🧰 Additional context used
🪛 Ruff (0.11.9)
backend/tests/apps/owasp/management/commands/owasp_update_sponsors_test.py
63-63: Line too long (144 > 99)
(E501)
backend/tests/apps/owasp/management/commands/owasp_update_events_test.py
67-67: Blank line contains whitespace
Remove whitespace from blank line
(W293)
70-70: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
70-70: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
70-70: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
70-70: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
70-70: Line too long (108 > 99)
(E501)
71-71: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
71-71: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
71-71: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
71-71: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
71-71: Line too long (112 > 99)
(E501)
72-72: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
72-72: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
72-72: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
72-72: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
72-72: Line too long (102 > 99)
(E501)
backend/tests/apps/github/management/commands/github_update_users_test.py
24-24: Blank line contains whitespace
Remove whitespace from blank line
(W293)
26-26: Blank line contains whitespace
Remove whitespace from blank line
(W293)
39-39: Blank line contains whitespace
Remove whitespace from blank line
(W293)
43-43: Blank line contains whitespace
Remove whitespace from blank line
(W293)
45-45: Blank line contains whitespace
Remove whitespace from blank line
(W293)
56-56: Unnecessary dict
kwargs
Remove unnecessary kwargs
(PIE804)
75-75: Local variable calls
is assigned to but never used
Remove assignment to unused variable calls
(F841)
76-76: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
76-76: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
77-77: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
77-77: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
88-88: Blank line contains whitespace
Remove whitespace from blank line
(W293)
92-92: Blank line contains whitespace
Remove whitespace from blank line
(W293)
104-104: Unnecessary dict
kwargs
Remove unnecessary kwargs
(PIE804)
123-123: Line too long (101 > 99)
(E501)
127-127: Blank line contains whitespace
Remove whitespace from blank line
(W293)
131-131: Blank line contains whitespace
Remove whitespace from blank line
(W293)
140-140: Unnecessary dict
kwargs
Remove unnecessary kwargs
(PIE804)
158-158: Blank line contains whitespace
Remove whitespace from blank line
(W293)
162-162: Blank line contains whitespace
Remove whitespace from blank line
(W293)
173-173: Unnecessary dict
kwargs
Remove unnecessary kwargs
(PIE804)
190-190: Blank line contains whitespace
Remove whitespace from blank line
(W293)
199-199: Unnecessary dict
kwargs
Remove unnecessary kwargs
(PIE804)
213-213: Blank line contains whitespace
Remove whitespace from blank line
(W293)
217-217: Blank line contains whitespace
Remove whitespace from blank line
(W293)
219-219: Blank line contains whitespace
Remove whitespace from blank line
(W293)
229-229: Unnecessary dict
kwargs
Remove unnecessary kwargs
(PIE804)
backend/tests/apps/owasp/management/commands/owasp_enrich_events_test.py
3-3: unittest.mock.call
imported but unused
Remove unused import: unittest.mock.call
(F401)
79-79: Line too long (112 > 99)
(E501)
102-102: Line too long (109 > 99)
(E501)
111-111: Blank line contains whitespace
Remove whitespace from blank line
(W293)
112-112: Line too long (100 > 99)
(E501)
128-128: Blank line contains whitespace
Remove whitespace from blank line
(W293)
138-138: Blank line contains whitespace
Remove whitespace from blank line
(W293)
150-150: Line too long (110 > 99)
(E501)
154-154: Line too long (100 > 99)
(E501)
backend/tests/apps/common/management/commands/restore_backup_test.py
57-60: Use contextlib.suppress(Exception)
instead of try
-except
-pass
Replace with contextlib.suppress(Exception)
(SIM105)
59-60: try
-except
-pass
detected, consider logging the exception
(S110)
59-59: Do not catch blind exception: Exception
(BLE001)
63-63: Blank line contains whitespace
Remove whitespace from blank line
(W293)
66-66: Blank line contains whitespace
Remove whitespace from blank line
(W293)
85-88: Use contextlib.suppress(Exception)
instead of try
-except
-pass
Replace with contextlib.suppress(Exception)
(SIM105)
87-88: try
-except
-pass
detected, consider logging the exception
(S110)
87-87: Do not catch blind exception: Exception
(BLE001)
91-91: Blank line contains whitespace
Remove whitespace from blank line
(W293)
115-118: Use contextlib.suppress(Exception)
instead of try
-except
-pass
Replace with contextlib.suppress(Exception)
(SIM105)
117-118: try
-except
-pass
detected, consider logging the exception
(S110)
117-117: Do not catch blind exception: Exception
(BLE001)
backend/tests/apps/github/management/commands/github_match_users_test.py
22-22: Line too long (113 > 99)
(E501)
32-32: Blank line contains whitespace
Remove whitespace from blank line
(W293)
48-48: Wrong type passed to first argument of pytest.mark.parametrize
; expected tuple
Use a tuple
for the first argument
(PT006)
50-50: Trailing whitespace
Remove trailing whitespace
(W291)
51-51: Trailing whitespace
Remove trailing whitespace
(W291)
52-52: Trailing whitespace
Remove trailing whitespace
(W291)
53-53: Trailing whitespace
Remove trailing whitespace
(W291)
54-54: Trailing whitespace
Remove trailing whitespace
(W291)
55-55: Trailing whitespace
Remove trailing whitespace
(W291)
56-56: Trailing whitespace
Remove trailing whitespace
(W291)
57-57: Trailing whitespace
Remove trailing whitespace
(W291)
58-58: Trailing whitespace
Remove trailing whitespace
(W291)
98-98: Blank line contains whitespace
Remove whitespace from blank line
(W293)
108-108: Ambiguous variable name: l
(E741)
108-108: Line too long (120 > 99)
(E501)
112-112: Blank line contains whitespace
Remove whitespace from blank line
(W293)
122-122: Blank line contains whitespace
Remove whitespace from blank line
(W293)
126-126: Blank line contains whitespace
Remove whitespace from blank line
(W293)
130-130: Blank line contains whitespace
Remove whitespace from blank line
(W293)
163-163: Blank line contains whitespace
Remove whitespace from blank line
(W293)
194-194: Line too long (115 > 99)
(E501)
198-198: Line too long (103 > 99)
(E501)
201-201: Wrong type passed to first argument of pytest.mark.parametrize
; expected tuple
Use a tuple
for the first argument
(PT006)
207-207: Line too long (166 > 99)
(E501)
216-216: Blank line contains whitespace
Remove whitespace from blank line
(W293)
221-221: Blank line contains whitespace
Remove whitespace from blank line
(W293)
224-224: Blank line contains whitespace
Remove whitespace from blank line
(W293)
225-225: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
226-226: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
227-227: Single quotes found but double quotes preferred
Replace single quotes with double quotes
(Q000)
230-230: Blank line contains whitespace
Remove whitespace from blank line
(W293)
232-232: Blank line contains whitespace
Remove whitespace from blank line
(W293)
234-234: Blank line contains whitespace
Remove whitespace from blank line
(W293)
236-236: Blank line contains whitespace
Remove whitespace from blank line
(W293)
239-239: Blank line contains whitespace
Remove whitespace from blank line
(W293)
242-242: Blank line contains whitespace
Remove whitespace from blank line
(W293)
243-243: Line too long (117 > 99)
(E501)
248-248: Blank line contains whitespace
Remove whitespace from blank line
(W293)
250-250: Blank line contains whitespace
Remove whitespace from blank line
(W293)
252-252: Blank line contains whitespace
Remove whitespace from blank line
(W293)
253-253: Line too long (101 > 99)
(E501)
256-256: Blank line contains whitespace
Remove whitespace from blank line
(W293)
257-257: Do not call getattr
with a constant attribute value. It is not any safer than normal property access.
Replace getattr
with attribute access
(B009)
259-259: Line too long (131 > 99)
(E501)
266-266: Blank line contains whitespace
Remove whitespace from blank line
(W293)
268-268: Blank line contains whitespace
Remove whitespace from blank line
(W293)
270-270: Blank line contains whitespace
Remove whitespace from blank line
(W293)
271-271: Line too long (101 > 99)
(E501)
274-274: Do not call getattr
with a constant attribute value. It is not any safer than normal property access.
Replace getattr
with attribute access
(B009)
🪛 Pylint (3.3.7)
backend/tests/apps/owasp/management/commands/owasp_enrich_events_test.py
[refactor] 51-51: Too many arguments (6/5)
(R0913)
[refactor] 51-51: Too many positional arguments (6/5)
(R0917)
[refactor] 79-79: Too many arguments (6/5)
(R0913)
[refactor] 79-79: Too many positional arguments (6/5)
(R0917)
[refactor] 97-97: Too many arguments (6/5)
(R0913)
[refactor] 97-97: Too many positional arguments (6/5)
(R0917)
[refactor] 112-112: Too many arguments (6/5)
(R0913)
[refactor] 112-112: Too many positional arguments (6/5)
(R0917)
[refactor] 135-135: Too many arguments (6/5)
(R0913)
[refactor] 135-135: Too many positional arguments (6/5)
(R0917)
[refactor] 147-147: Too many arguments (6/5)
(R0913)
[refactor] 147-147: Too many positional arguments (6/5)
(R0917)
[refactor] 156-156: Too many arguments (6/5)
(R0913)
[refactor] 156-156: Too many positional arguments (6/5)
(R0917)
backend/tests/apps/github/management/commands/github_match_users_test.py
[refactor] 194-194: Too many arguments (7/5)
(R0913)
[refactor] 194-194: Too many positional arguments (7/5)
(R0917)
[refactor] 207-207: Too many arguments (10/5)
(R0913)
[refactor] 207-207: Too many positional arguments (10/5)
(R0917)
[refactor] 243-243: Too many arguments (7/5)
(R0913)
[refactor] 243-243: Too many positional arguments (7/5)
(R0917)
[refactor] 259-259: Too many arguments (7/5)
(R0913)
[refactor] 259-259: Too many positional arguments (7/5)
(R0917)
🔇 Additional comments (11)
backend/tests/apps/common/management/commands/restore_backup_test.py (1)
13-37
: LGTM! Comprehensive test coverage for successful execution.The test properly verifies the command's execution flow, ensuring all components are called in the correct order and the transaction context is properly managed.
backend/tests/apps/github/management/commands/github_update_users_test.py (1)
34-80
: LGTM! Comprehensive test for default offset scenario.The test thoroughly validates the command's behavior with default parameters, including user processing, contribution counting, and bulk saving operations.
backend/tests/apps/github/management/commands/github_match_users_test.py (1)
11-65
: LGTM! Excellent test structure with fixtures and parametrized tests.The test organization with fixtures and comprehensive parametrized testing provides thorough coverage of the user validation logic.
backend/tests/apps/owasp/management/commands/owasp_update_sponsors_test.py (2)
11-27
: LGTM! Clean test structure with proper fixtures.The test class is well-organized with appropriate fixtures and follows good testing practices.
39-93
: LGTM! Comprehensive test coverage for all scenarios.The test methods thoroughly cover valid data processing, filtering, empty data handling, and edge cases with appropriate mocking and assertions.
backend/tests/apps/owasp/management/commands/owasp_update_events_test.py (2)
41-76
: LGTM! Comprehensive test with detailed assertions.The test thoroughly validates the command's behavior with complex YAML data, ensuring all events are processed correctly and bulk saved appropriately.
11-27
: LGTM! Clean test structure with proper inheritance validation.The basic test structure and inheritance validation follow good testing practices.
backend/tests/apps/owasp/management/commands/owasp_enrich_events_test.py (4)
17-35
: Well-structured basic command tests.The tests for help text, inheritance, and argument parsing are comprehensive and follow Django testing best practices. Good use of fixtures and clear assertions.
37-50
: Excellent use of class-level patches for dependency isolation.The patching strategy effectively isolates the command logic from external dependencies (Event model, Prompt utility, sleep, logger), which is ideal for unit testing Django management commands.
51-177
: Comprehensive test coverage with sound logic.The test suite covers all major scenarios effectively:
- Full enrichment flow
- Partial enrichment when data exists
- Handling of missing prompts
- Exception handling and logging
- Edge cases (no events, offset functionality)
- No-op scenario when all data exists
The mocking strategy and assertions are appropriate for each test case, ensuring proper isolation and verification of the command's behavior.
1-177
: Excellent test organization and structure.The test file demonstrates best practices for Django management command testing:
- Clear separation between basic command tests and handle method tests
- Descriptive test names and docstrings
- Appropriate use of fixtures and class-level patches
- Comprehensive coverage of edge cases and error scenarios
This significantly improves the test coverage for the
owasp_enrich_events
command as intended by the PR objectives.
backend/tests/apps/github/management/commands/github_match_users_test.py
Outdated
Show resolved
Hide resolved
Signed-off-by: bandhan-majumder <[email protected]>
Signed-off-by: bandhan-majumder <[email protected]>
only one file |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @bandhan-majumder!
LGTM 👍
Resolves #1647
PR description:
Added test cases for the files having 0% coverage to cover 100% of coverage.
The coverage can be seen here