This commit is contained in:
parent
b3974280d4
commit
42dbea7401
2 changed files with 2 additions and 2 deletions
|
|
@ -447,7 +447,7 @@ class GameFeed(Feed):
|
|||
|
||||
description_parts.append(
|
||||
SafeText(
|
||||
f"<p>New game has been added to ttvdrops.lovinator.space: {game_name} by {game_owner}\n\n"
|
||||
f"<p>{game_name} has been added to ttvdrops.lovinator.space!\nOwned by {game_owner}.\n\n"
|
||||
f"<a href='{game_url}'>[Details]</a> "
|
||||
f"<a href='{twitch_directory_url}'>[Twitch]</a> "
|
||||
f"<a href='{rss_feed_url}'>[RSS feed]</a>\n</p>",
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ class RSSFeedTestCase(TestCase):
|
|||
assert response.status_code == 200
|
||||
assert response["Content-Type"] == "application/rss+xml; charset=utf-8"
|
||||
content: str = response.content.decode("utf-8")
|
||||
assert "Test Game by Test Organization" in content
|
||||
assert "Owned by Test Organization." in content
|
||||
|
||||
expected_rss_link: str = reverse(
|
||||
"twitch:game_campaign_feed",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue