File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 0.7.4
1+ 0.7.5
Original file line number Diff line number Diff line change @@ -475,12 +475,14 @@ async def test_path_not_found(self):
475475 assert result == []
476476
477477 async def test_max_urls_cap (self ):
478- items = [{"id" : str (i ), "text" : f"Job { i } " } for i in range (10_500 )]
478+ from src .core .monitors .nextdata import MAX_URLS
479+
480+ items = [{"id" : str (i ), "text" : f"Job { i } " } for i in range (MAX_URLS + 500 )]
479481 data = {"props" : {"pageProps" : {"positions" : items }}}
480482 html = _html_with_next_data (data )
481483 async with httpx .AsyncClient (transport = _mock_transport (html )) as client :
482484 result = await discover (BOARD_URL_ONLY , client )
483- assert len (result ) <= 10_000
485+ assert len (result ) <= MAX_URLS
484486
485487 async def test_missing_path_config (self ):
486488 board = {
You can’t perform that action at this time.
0 commit comments