aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_rss_feeds.py
diff options
context:
space:
mode:
authorLibravatarDererk <dererk@satellogic.com>2016-11-15 14:18:53 -0300
committerLibravatarDererk <dererk@satellogic.com>2016-11-15 14:18:53 -0300
commit1ad5102b7ddd181bb9c632b124d3ea4c7db28be6 (patch)
tree73dda18465d0f4b8eb52d4482282a387c9f67c95 /tests/test_rss_feeds.py
parentb67294f76809a681ff73f209ed691a3e3f00563d (diff)
parentffb671c61a24a9086343b54bad080e145ff33fc5 (diff)
Merge tag 'upstream/7.8.1'
Upstream version 7.8.1 # gpg: Firmado el mar 15 nov 2016 14:18:48 ART # gpg: usando RSA clave A6C7B88B9583046A11C5403E0B00FB6CEBE2D002 # gpg: Firma correcta de "Ulises Vitulli <dererk@debian.org>" [absoluta] # gpg: alias "Dererk <dererk@torproject.org>" [absoluta] # gpg: alias "Ulises Vitulli <uvitulli@fi.uba.ar>" [absoluta] # gpg: alias "Ulises Vitulli <dererk@satellogic.com>" [absoluta]
Diffstat (limited to 'tests/test_rss_feeds.py')
-rw-r--r--tests/test_rss_feeds.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/test_rss_feeds.py b/tests/test_rss_feeds.py
index f67ed40..d44cd7b 100644
--- a/tests/test_rss_feeds.py
+++ b/tests/test_rss_feeds.py
@@ -50,13 +50,15 @@ class RSSFeedTest(unittest.TestCase):
with mock.patch('nikola.post.get_meta',
mock.Mock(return_value=(
({'title': 'post title',
- 'slug': 'awesome_article',
- 'date': '2012-10-01 22:41',
- 'author': None,
- 'tags': 'tags',
- 'link': 'link',
- 'description': 'description',
- 'enclosure': 'http://www.example.org/foo.mp3'}, True)
+ 'slug': 'awesome_article',
+ 'date': '2012-10-01 22:41',
+ 'author': None,
+ 'tags': 'tags',
+ 'link': 'link',
+ 'description': 'description',
+ 'enclosure': 'http://www.example.org/foo.mp3',
+ 'enclosure_length': '5'},
+ True)
))):
with mock.patch('nikola.nikola.utils.os.path.isdir',
mock.Mock(return_value=True)):