pytest: first batch with test_feeds
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
And multiple related fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -699,7 +699,7 @@ class Feed(object):
|
||||
try:
|
||||
setattr(item, attr, new[attr])
|
||||
|
||||
except (IndexError, TypeError):
|
||||
except (KeyError, IndexError, TypeError):
|
||||
pass
|
||||
|
||||
return item
|
||||
|
||||
Reference in New Issue
Block a user