File size: 217 Bytes
3d2aa58
 
 
 
 
 
 
1
2
3
4
5
6
7
import pytest
from src.crawler import Crawler

def test_crawler():
    crawler = Crawler('https://github.com/public-apis/public-apis?tab=readme-ov-file#art--design')
    apis = crawler.crawl()
    assert len(apis) > 0