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(scrapers.DupChecker): ensure raising SingleDuplicateError #4375

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

grossir
Copy link
Contributor

@grossir grossir commented Aug 29, 2024

A bug was introduced in the previous modification of the DupChecker, where SingleDuplicateError was not raised when the item was duplicated if we were not in a full_crawl

A bug was introduced in the previous modification, where SingleDuplicateError was not raised when item was duplicated
@grossir grossir marked this pull request as ready for review August 29, 2024 16:10
@grossir grossir requested a review from mlissner August 29, 2024 16:23
@mlissner mlissner merged commit a2cf919 into freelawproject:main Aug 29, 2024
9 checks passed
@mlissner
Copy link
Member

Seems like the kind of code that'd benefit from some tests, but good to have it fixed.

@grossir
Copy link
Contributor Author

grossir commented Aug 29, 2024

There are tests, I refactored them when I changed the DupChecker, I must have done it incorrectly, I will make another PR to fix them

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