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

tweaks in test pdf ingestor #38

Closed
wants to merge 1 commit into from
Closed

Conversation

the-non-expert
Copy link
Contributor

getText() was deprecated, so changed to get_text()
Error printing during error handling
modified the test file according to the current conditions

@@ -56,6 +57,7 @@ async def ingest(
yield text

except Exception as e:
print(e)
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this

Copy link
Contributor

Choose a reason for hiding this comment

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

We can do error handling later

counter += 1
assert counter == 1

assert counter == 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually it should be 1

Copy link
Contributor

Choose a reason for hiding this comment

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

The file is read and we should get atleast one ingested collected result

@saraswatpuneet saraswatpuneet deleted the errorResolving-ayush branch September 2, 2023 14:08
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