Refactor tag retrieval to use default values and remove missing_tags module
This commit is contained in:
parent
8805da33b6
commit
dfa6ea48e5
7 changed files with 63 additions and 228 deletions
|
|
@ -18,7 +18,6 @@ from discord_rss_bot.feeds import send_entry_to_discord
|
|||
from discord_rss_bot.feeds import send_to_discord
|
||||
from discord_rss_bot.feeds import should_send_embed_check
|
||||
from discord_rss_bot.feeds import truncate_webhook_message
|
||||
from discord_rss_bot.missing_tags import add_missing_tags
|
||||
|
||||
|
||||
def test_send_to_discord() -> None:
|
||||
|
|
@ -35,8 +34,6 @@ def test_send_to_discord() -> None:
|
|||
# Add a feed to the reader.
|
||||
reader.add_feed("https://www.reddit.com/r/Python/.rss")
|
||||
|
||||
add_missing_tags(reader)
|
||||
|
||||
# Update the feed to get the entries.
|
||||
reader.update_feeds()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue