fix: complete site parser source workflow
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user