Skip to content

Conversation

@brandon-wada
Copy link
Collaborator

Temporarily disable tests dependent on code external to the SDK

confident_iq = gl.ask_confident(detector=detector.id, image="test/assets/dog.jpeg", wait=180)
assert confident_iq.result.confidence > IQ_IMPROVEMENT_THRESHOLD
# temporarily disabled until the backend bugfix is deployed
# @pytest.mark.skipif(MISSING_PIL, reason="Needs pillow") # type: ignore
Copy link
Member

Choose a reason for hiding this comment

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

Instead of commenting out you might just use @pytest.mark.skip(reason="Detector improvement is incredibly flaky") or something like that?

Copy link
Member

@sunildkumar sunildkumar left a comment

Choose a reason for hiding this comment

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

I think it would be better to just use the decorator instead of commenting out.

@brandon-wada brandon-wada force-pushed the disable_improvement_test branch from bb34069 to 3d041ee Compare October 17, 2023 22:39
@brandon-wada brandon-wada marked this pull request as ready for review October 17, 2023 22:46
@brandon-wada brandon-wada merged commit ed7512f into main Oct 17, 2023
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.

3 participants