added basic unit tests

This commit is contained in:
Tristan Lee
2022-03-04 12:36:09 -06:00
parent c21e43ddfa
commit cd5f68e9e5
15 changed files with 457 additions and 89 deletions

8
tests/scraper/gettr.py Normal file
View File

@@ -0,0 +1,8 @@
from cisticola.base import Channel
from cisticola.scraper import GettrScraper
def test_scrape_gettr_channel(controller, channel_kwargs):
channels = [Channel(**channel_kwargs['gettr'])]
controller.register_scraper(GettrScraper())
controller.scrape_channels(channels)