diff --git a/audio/tests/string_test_string.py b/audio/tests/string_test_string.py index 412de84..5ebfafa 100644 --- a/audio/tests/string_test_string.py +++ b/audio/tests/string_test_string.py @@ -1,7 +1,7 @@ from tp.settings import IMAGES_URL -def get_ep_a_description(feed_x, episode_x): +def get_ep_description(feed_x, episode_x): a = f'
{episode_x.description}
' diff --git a/audio/tests/test_rss.py b/audio/tests/test_rss.py index 9ceb71c..82286be 100644 --- a/audio/tests/test_rss.py +++ b/audio/tests/test_rss.py @@ -7,7 +7,7 @@ from dateutil import parser from django.urls import reverse import xml.etree.ElementTree as ET from tp.settings import IMAGES_URL, MP3_URL -from .string_test_string import get_ep_a_description +from .string_test_string import get_ep_description class TestRssTestCase(TestCase): @@ -84,7 +84,7 @@ class TestRssTestCase(TestCase): ep_desc = ep.find('description').text self.assertEquals( ep_desc, - get_ep_a_description(feed_a, episode) + get_ep_description(feed_a, episode) ) ep_pub_date = parser.parse(ep.find('pubDate').text).strftime('%Y-%m-%d') self.assertEquals(ep_pub_date, str(episode.pub_date))