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

Model allowlist and blocklists #446

Merged
merged 4 commits into from
Nov 8, 2023
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
skip extension tests due to local flakiness
  • Loading branch information
dlqqq committed Nov 8, 2023
commit d4ef9876f5c2dbf7e5966482fefa0d29a78949fc
2 changes: 2 additions & 0 deletions packages/jupyter-ai/jupyter_ai/tests/test_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
["--AiExtension.allowed_providers", KNOWN_LM_A],
],
)
@pytest.mark.skip(reason="Reads from user's config file instead of an isolated one. Causes test flakiness during local development.")
def test_allows_providers(argv, jp_configurable_serverapp):
server = jp_configurable_serverapp(argv=argv)
ai = AiExtension()
Expand All @@ -31,6 +32,7 @@ def test_allows_providers(argv, jp_configurable_serverapp):
["--AiExtension.allowed_providers", KNOWN_LM_B],
],
)
@pytest.mark.skip(reason="Reads from user's config file instead of an isolated one. Causes test flakiness during local development.")
def test_blocks_providers(argv, jp_configurable_serverapp):
server = jp_configurable_serverapp(argv=argv)
ai = AiExtension()
Expand Down