integrations: Refine Mention example screenshot.

This commit is contained in:
Niloth P
2024-11-19 14:28:19 +05:30
committed by Tim Abbott
parent 5de2a7115c
commit 619ada36ed
3 changed files with 4 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -11,12 +11,12 @@
"children": "",
"logs": "",
"display_site": "True",
"title": "Historical Sexual Abuse (Football): 29 Nov 2016: House of Commons debates - TheyWorkForYou",
"title": "Travel Industry Sees Surge in Eco-Tourism (Travel): 29 Nov 2024: Global Tourism - TheyWorkForYou",
"tags": "",
"id": "121983065969",
"description_short": "\u2026 Child sex abuse is an exceptionally vile crime, and all of Government take it very \u2026",
"trashed": "False",
"description": "\u2026 Culture, Media and Sport\nNothing is more important than keeping children safe. Child sex abuse is an exceptionally vile crime, and all of Government take it very seriously indeed, as I know this House does.\nChildren up and down the country are \u2026",
"description": "\u2026 Tourism, Culture and Heritage\nMore travelers prioritize environmental sustainability, driving growth in eco-friendly accommodations and activities. Popular destinations include Costa Rica and \u2026",
"offsets": {
"source_name": "",
"description": "122,122,5,5",

View File

@@ -9,11 +9,10 @@ class MentionHookTests(WebhookTestCase):
def test_mention_webfeed(self) -> None:
expected_topic_name = "news"
expected_message = """
**[Historical Sexual Abuse (Football): 29 Nov 2016: House of Commons debates - TheyWorkForYou](https://www.theyworkforyou.com/debates/?id=2016-11-29b.1398.7&p=24887)**:
**[Travel Industry Sees Surge in Eco-Tourism (Travel): 29 Nov 2024: Global Tourism - TheyWorkForYou](https://www.theyworkforyou.com/debates/?id=2016-11-29b.1398.7&p=24887)**:
``` quote
\u2026 Culture, Media and Sport\nNothing is more important than keeping children safe. Child sex abuse is an exceptionally vile crime, and all of Government take it very seriously indeed, as I know this House does.
Children up and down the country are \u2026
\u2026 Tourism, Culture and Heritage\nMore travelers prioritize environmental sustainability, driving growth in eco-friendly accommodations and activities. Popular destinations include Costa Rica and \u2026
```
""".strip()