mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Only run /online command offline chat director test when SERPER KEY present
This commit is contained in:
parent
16175137e5
commit
e0b381d523
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import os
|
||||
import urllib.parse
|
||||
from urllib.parse import quote
|
||||
|
||||
|
@ -53,6 +54,7 @@ def test_chat_with_no_chat_history_or_retrieved_content_gpt4all(client_offline_c
|
|||
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
@pytest.mark.skipif(os.getenv("SERPER_DEV_API_KEY") is None, reason="requires SERPER_DEV_API_KEY")
|
||||
@pytest.mark.chatquality
|
||||
@pytest.mark.django_db(transaction=True)
|
||||
def test_chat_with_online_content(chat_client):
|
||||
|
|
Loading…
Add table
Reference in a new issue