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

clean-deprecated-parameters #1090

Merged
merged 18 commits into from
Apr 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean-deprecated-parameters
- fix tests
  • Loading branch information
omerXfaruq committed Apr 27, 2022
commit 72e5116f7bad302d0e2aff0034e4a3061f3903d7
6 changes: 3 additions & 3 deletions test/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from fastapi.testclient import TestClient

from gradio import Interface, queueing, reset_all
from gradio import Interface, queueing, close_all

os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"

Expand Down Expand Up @@ -82,7 +82,7 @@ def test_queue_push_route_2(self):

def tearDown(self) -> None:
self.io.close()
reset_all()
close_all()


class TestAuthenticatedRoutes(unittest.TestCase):
Expand All @@ -105,7 +105,7 @@ def test_post_login(self):

def tearDown(self) -> None:
self.io.close()
reset_all()
close_all()


if __name__ == "__main__":
Expand Down