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

Added tests for pan.py #31

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

garimayy23
Copy link
Contributor

Added 2 good tests and 3 bad tests for pan.py script using PyTest module. For testing, run pytest --log-cli-level=NOTSET

Copy link
Member

@nerdyk3 nerdyk3 left a comment

Choose a reason for hiding this comment

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

You have to write 2 good and 2 bad(error) test for each function

rest looks good to me

@@ -0,0 +1,42 @@
from ..pan import (
Copy link
Member

Choose a reason for hiding this comment

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

from ocr.pan ...

@garimayy23
Copy link
Contributor Author

I have added alot more test cases and then grouped them into test classes for each function. Also tried to resolve the relative import method but please check if any more modifications required

@nerdyk3 nerdyk3 merged commit f761d59 into essentiasoftserv:main May 21, 2024
4 checks passed
@garimayy23 garimayy23 deleted the unit_test_pan branch May 21, 2024 12:24
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