From 1d7afc2f1372e46a102d088242bbccec5ba5af4e Mon Sep 17 00:00:00 2001 From: A Farzat Date: Wed, 8 Oct 2025 18:10:46 +0300 Subject: Add a title attribute to subscriptions --- tests/analyser.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/analyser.py') diff --git a/tests/analyser.py b/tests/analyser.py index c698942..9d5abdf 100644 --- a/tests/analyser.py +++ b/tests/analyser.py @@ -19,7 +19,8 @@ class TestAnalyser(TestCase): self.sub1 = Subscription( _id="yt:channel:hlgI3UHCOnwUGzWzbJ3H5w", - link=r"tests/data/feed@ytnnews24@001.xml", + link="tests/data/feed@ytnnews24@001.xml", + title="YTN", time_between_fetches=1, ) self.sub1._collection = self.collection @@ -84,7 +85,8 @@ class TestAnalyser(TestCase): self.assertTrue(vid.analysed) self.sub2 = Subscription( _id="yt:channel:7YOGHUfC1Tb6E4pudI9STA", - link=r"tests/data/feed@mentaloutlaw@001.xml", + link="tests/data/feed@mentaloutlaw@001.xml", + title="YTN", time_between_fetches=1, ) self.sub2._collection = self.collection -- cgit v1.2.3-70-g09d2