From d70bcb2d77e2a790d3735676c5efc61820923d96 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sun, 25 Apr 2021 20:07:13 -0700 Subject: [PATCH] spelling fix --- audio/tests/string_test_string.py | 2 +- audio/tests/test_rss.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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}

' b = f'' c = 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))