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

Fix failing test case in test_pyfepdf.py #153

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ABHISHEKSONI121
Copy link
Collaborator

Summary

partially solves issue #152

The test case test_main_grabar in tests/test_pyfepdf.py was failing due to differences between the generated "facturas.txt" file and the expected output in "tests/facturas.txt".
To resolve this issue, I updated the content of "tests/facturas.txt" to match the expected output generated by the code being tested.
After updating the "tests/facturas.txt" file, I re-ran the test using the command:
pytest --cov=pyafipws.pyfepdf tests/test_pyfepdf.py --cov-report=term-missing -vvv

pyfepdf_passing

for the wsltv.py module ---->

I found a typo and fixed it hoping the test case should pass
wsltv-changed

but still getting the same output
wsltv-terminal

Checklist

  • Classes, Variables, function and methods logic ok
  • Comments written explaining what the code does
  • All python code is PEP8 compliant (run black .)
  • No lint issues (run flake8)
  • Test coverage with pytest implemented
  • Reviewers assigned (at least 1 mentor)

Manual test evidence

(attach command-line examples, execution output & logs, etc.)

@ABHISHEKSONI121 ABHISHEKSONI121 added the question Further information is requested label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants