Add channel id by name message
This commit is contained in:
parent
3d7ec85a55
commit
4cd8fb80da
5 changed files with 45 additions and 12 deletions
|
|
@ -7,7 +7,7 @@ from breadtube_bot.youtube_subscription import ChannelInfo
|
|||
|
||||
def test_rss_parsing():
|
||||
logger = logging.getLogger('breadtube-bot-test')
|
||||
manager = YoutubeManager(logger=logger)
|
||||
manager = YoutubeManager('', logger=logger)
|
||||
channel_info, videos = manager._parse_rss_data(Path('tests/data/rss_feed_sample.xml').read_text(encoding='utf-8'))
|
||||
assert channel_info == ChannelInfo(
|
||||
channel_id='UCFemKOoYVrTGUhuVzuNPt4A', title='Actu Réfractaire',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue