Skip to content

Commit

Permalink
Remove specific timeouts, increase general
Browse files Browse the repository at this point in the history
  • Loading branch information
ayjayt committed Jan 27, 2025
1 parent bb289d0 commit 2bef2d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def wrapped_test_fn(*args, **kwargs):

def pytest_configure():
# change this by command line TODO
pytest.default_timeout = 8
pytest.default_timeout = 12


# pytest shuts down its capture before logging/threads finish
Expand Down
4 changes: 2 additions & 2 deletions tests/test_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def test_tab_send_command(browser):


@pytest.mark.asyncio
async def test_subscribe_once(browser, timeout=15):
async def test_subscribe_once(browser):
_logger.info("testing...")
tab = await browser.create_tab("")
subscription_result = tab.subscribe_once("Page.*")
Expand All @@ -67,7 +67,7 @@ async def test_subscribe_once(browser, timeout=15):


@pytest.mark.asyncio
async def test_subscribe_and_unsubscribe(browser, timeout=15):
async def test_subscribe_and_unsubscribe(browser):
_logger.info("testing...")
tab = await browser.create_tab("")
counter = 0
Expand Down

0 comments on commit 2bef2d9

Please sign in to comment.