Test that lazy_load yields no documents when the urls list is empty.
()
| 491 | |
| 492 | |
| 493 | def test_lazy_load_empty_urls(): |
| 494 | """Test that lazy_load yields no documents when the urls list is empty.""" |
| 495 | loader = ChromiumLoader([], backend="playwright") |
| 496 | docs = list(loader.lazy_load()) |
| 497 | assert docs == [] |
| 498 | |
| 499 | |
| 500 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected