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

Fixed tests for Python PDQ implementation #1606

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

JDalins
Copy link
Contributor

@JDalins JDalins commented Jul 19, 2024

Fixed tests for Python pdq implementation.

Summary

Fixed SAMPLE_MEDIA path (had one too many parent dirs) within pdq_test.py. Also changed self.assertNotEquals to self.assertNotEqual on line 23 of pdq_test.py (note: typo in commit message).

Tests within pdq/python/pdqhashing/tests now complete correctly (pytest, Python3.12, MacOS 14.5)

Test Plan

Run existing tests for Python build.

…`self.assertNotEquals` to `self.assertEquals` on line 23 of pdq_test.py.

Tests within pdq/python/pdqhashing/tests now complete correctly (pytest, Python3.12, MacOS 14.5)
Copy link
Contributor

@Dcallies Dcallies left a comment

Choose a reason for hiding this comment

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

Thanks a ton @JDalins , sorry for the long delay, I've been out.

The biggest takeaway for me is that we aren't running any tests in the existing checks. I've opened #1607 for this.

@Dcallies Dcallies merged commit fb67712 into facebook:main Jul 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants