mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-21 17:11:30 -08:00
fix test
This commit is contained in:
parent
aa4951c430
commit
844e4dbaf9
@ -64,7 +64,7 @@ class TestRssTestCase(TestCase):
|
|||||||
)
|
)
|
||||||
f_image_description = f_image.find('description').text
|
f_image_description = f_image.find('description').text
|
||||||
self.assertEquals(
|
self.assertEquals(
|
||||||
f_image_description, 'Image for: Caesar-Pompey Civil War'
|
f_image_description, '<p>Photo <a href="https://commons.wikimedia.org/wiki/File:Ordinary_bicycle01.jpg">A Penny Farthing</a> by <a href="https://commons.wikimedia.org/wiki/User:Nova">Agnieszka Kwiecień</a> is licensed <a href="https://en.wikipedia.org/wiki/Public_domain">Public Domain</a> in the USA.</p>'
|
||||||
)
|
)
|
||||||
episodes = [t for t in channel.findall('item')]
|
episodes = [t for t in channel.findall('item')]
|
||||||
for i, ep in enumerate(episodes):
|
for i, ep in enumerate(episodes):
|
||||||
|
Loading…
Reference in New Issue
Block a user