fix: complete site parser source workflow

This commit is contained in:
Your Name
2026-08-10 21:11:43 +05:00
parent 3dea6f43f3
commit 5417737c08
9 changed files with 163 additions and 23 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ class SourceAdapterTests(unittest.IsolatedAsyncioTestCase):
client = SiteParserClient(FakeSession(), "http://worker", "token", "captcha", 30)
items, state = await client.fetch({
"url": "https://example.test/rss.xml",
"settings_json": {"format": "rss", "access": "auto"},
"runtime_state_json": {},
"settings_json": '{"format":"rss","access":"auto","interval_minutes":30}',
"runtime_state_json": '{}',
})
self.assertEqual(items[0].text, "Title\n\nBody")