-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Return False when image diff file not found #1856
Return False when image diff file not found #1856
Conversation
Filed as internal issue #USD-7368 |
13e2624
to
04fb37b
Compare
Note - we've commented out one test, However, once the test was fixed to compare the correct file, it exposed what looks like a true test failure. As a result, we've disabled the test for now. If you'd like, we can make a separate issue to fix + re-enable this test. |
04fb37b
to
c681616
Compare
Remove merge text
c681616
to
94b2a9b
Compare
It seems that a change to |
Huzzah for the test getting fixed! Can we get this merged so future test failures like that won't slip through unnoticed? |
Just checking in on this - it's not particularly urgent, but it's also a pretty simple fix, which helps ensure future correctness of tests. As shown above, there was already one test failure which slipped through, and perhaps would have been caught + fixed sooner if this change had been in place... |
Hey @pmolodo , sorry for the delay on this one. I had this staged but went on leave before I could commit it. This won't make it in for the upcoming 22.11 release but will be in the next one. Thanks! |
No worries - just didn't want it to drop off the back end. Thanks!
…On Thu, Oct 6, 2022, 12:27 PM Sunya Boonyatera ***@***.***> wrote:
Hey @pmolodo <https://github.com/pmolodo> , sorry for the delay on this
one. I had this staged but went on leave before I could commit it. This
won't make it in for the upcoming 22.11 release but will be in the next
one. Thanks!
—
Reply to this email directly, view it on GitHub
<#1856 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAARQ6DHG3S2BN6BTY4NR6LWB4R3XANCNFSM5VSUPFGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Description of Change(s)
In testWrapper.py _imageDiff, the test will pass if glob does not find the file. This change would make the test return False (fail) if this happens, so that the problem is not silently passed over. Also, in the _diff function in the same file, there is an unnecessary second call to glob, which this change would remove.
Fixes Issue(s)