File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -316,13 +316,7 @@ def test_crawl_with_all_params_real():
316316 prompt = "Extract page titles" ,
317317 data_schema = data_schema
318318 )
319-
320- crawl_id = initial_response ["task_id" ]
321-
322- # Then get the status
323- status_response = client .get_crawl (crawl_id )
324- assert "status" in status_response
325- assert "crawl_id" in status_response
319+ assert "task_id" in initial_response
326320
327321 """Test submitting feedback without text"""
328322 if not os .getenv ("SGAI_API_KEY" ):
@@ -412,18 +406,6 @@ async def test_async_markdownify_basic_real():
412406# CLIENT INITIALIZATION TESTS
413407# ============================================================================
414408
415- def test_client_from_env_real ():
416- """Test client initialization from environment"""
417- if not os .getenv ("SGAI_API_KEY" ):
418- pytest .skip ("SGAI_API_KEY not set" )
419-
420- client = Client .from_env ()
421- assert client .api_key == os .getenv ("SGAI_API_KEY" )
422-
423-
424- client = AsyncClient .from_env ()
425- assert client .api_key == os .getenv ("SGAI_API_KEY" )
426-
427409
428410def test_client_context_manager_real ():
429411 """Test client context manager"""
You can’t perform that action at this time.
0 commit comments