-
Notifications
You must be signed in to change notification settings - Fork 4
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
Set minimum version of Gradio and rename height
to max_height
#152
base: test-fixes
Are you sure you want to change the base?
Conversation
) | ||
time.sleep(10) | ||
proc.send_signal(signal.SIGINT) | ||
stdout, stderr = proc.communicate() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set it make sense to check that the exit code is 0
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean instead of killing the process? i think we'd just be checking that the sigint worked as expected, not anything about the cyfi explorer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it may be unnecessary depending on how the Gradio application works, but it's a way to test that it doesn't have a runtime error after the "Running on" string that you are testing for. It might be that it doesn't make sense for this case.
Closes #150
This issue was not caught by weekly test runs because we didn't have any tests for cyfi/visualize.py. This PR adds a new test to ensure the explorer launches successfully