aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 11:39:31 +0200
committerLorenz Diener <[email protected]>2018-06-05 11:39:31 +0200
commit575d05fe0c1040be88898d12666fd9af131bb0c9 (patch)
treede11250e0aa9a63cf6393a6e569f860eb38d743a
parent85ca59993582ea54ac5843671d755e5337a2d599 (diff)
downloadmastodon.py-575d05fe0c1040be88898d12666fd9af131bb0c9.tar.gz
Improve media test
-rw-r--r--tests/test_media.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_media.py b/tests/test_media.py
index ef116cd..6e7bf73 100644
--- a/tests/test_media.py
+++ b/tests/test_media.py
@@ -21,7 +21,7 @@ def test_media_post(api, sensitive):
21 try: 21 try:
22 assert status['sensitive'] == sensitive 22 assert status['sensitive'] == sensitive
23 assert status['media_attachments'] 23 assert status['media_attachments']
24 assert status['media_attachments'][0]['description'] 24 assert status['media_attachments'][0]['description'] == "John Lennon doing a funny walk"
25 assert status['media_attachments'][0]['meta']['focus']['x'] == -0.5 25 assert status['media_attachments'][0]['meta']['focus']['x'] == -0.5
26 assert status['media_attachments'][0]['meta']['focus']['y'] == 0.3 26 assert status['media_attachments'][0]['meta']['focus']['y'] == 0.3
27 finally: 27 finally:
Powered by cgit v1.2.3 (git 2.41.0)