Skip to content

Commit 01fb7ee

Browse files
author
dylan.min
committed
test: add pytest mark to cache context test
1 parent 00ff218 commit 01fb7ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/general/test_cache_context.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import asyncio
2+
import pytest
23
from crawl4ai import AsyncWebCrawler, BrowserConfig, CrawlerRunConfig, CacheMode
34
from playwright.async_api import Page, BrowserContext
45

6+
@pytest.mark.asyncio
57
async def test_reuse_context_by_config():
68
# We will store each context ID in these maps to confirm reuse
79
context_ids_for_A = []

0 commit comments

Comments
 (0)