pytest: first batch with test_feeds
Some checks failed
continuous-integration/drone/push Build is failing

And multiple related fixes
This commit is contained in:
2022-01-31 08:32:34 +01:00
parent d6b90448f3
commit 32645548c2
11 changed files with 257 additions and 5 deletions

View File

@@ -90,9 +90,6 @@ item_updated = updated
[html]
mode = html
path =
http://localhost/
title = //div[@id='header']/h1
desc = //div[@id='header']/p
items = //div[@id='content']/div

View File

@@ -699,7 +699,7 @@ class Feed(object):
try:
setattr(item, attr, new[attr])
except (IndexError, TypeError):
except (KeyError, IndexError, TypeError):
pass
return item