aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
diff options
context:
space:
mode:
Diffstat (limited to '_pytest')
-rw-r--r--_pytest/test_unwrap_attachments.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/_pytest/test_unwrap_attachments.py b/_pytest/test_unwrap_attachments.py
index ab2172a..1c5fa86 100644
--- a/_pytest/test_unwrap_attachments.py
+++ b/_pytest/test_unwrap_attachments.py
@@ -64,6 +64,21 @@ import pytest
'input_message': {'attachments': [{
'title': 'Title',
'text': 'Attachment text',
+ 'title_link': 'http://link?a=1&b=2',
+ 'from_url': 'http://link?a=1&b=2',
+ 'image_url': 'http://link?a=1&b=2',
+ }]},
+ 'input_text_before': "http://link?a=1&b=2",
+ 'output': "\n".join([
+ "",
+ "Title",
+ "Attachment text",
+ ]),
+ },
+ {
+ 'input_message': {'attachments': [{
+ 'title': 'Title',
+ 'text': 'Attachment text',
'title_link': 'http://link',
'from_url': 'http://link',
'image_url': 'http://link',