mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-12-03 06:21:31 -08:00
fix shebang and a test
This commit is contained in:
parent
aef867a9c6
commit
fa0dbad076
@ -98,7 +98,7 @@ class TestRssTestCase(TestCase):
|
||||
ep_guid, f"http://testserver/episode/{episode.pk}/{episode.slug}"
|
||||
)
|
||||
ep_enclosure = ep.find("enclosure")
|
||||
self.assertEquals(ep_enclosure.keys(), ["length", "type", "url"])
|
||||
self.assertEquals(list(ep_enclosure.keys()), ["length", "type", "url"])
|
||||
self.assertEquals(ep_enclosure.attrib["length"], str(episode.mp3.size))
|
||||
self.assertEquals(ep_enclosure.attrib["type"], "audio/mpeg")
|
||||
self.assertEquals(ep_enclosure.attrib["url"], f"{MP3_URL}{episode.mp3}")
|
||||
|
Loading…
Reference in New Issue
Block a user