diff options
author | Lorenz Diener <[email protected]> | 2018-06-05 11:39:31 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-06-05 11:39:31 +0200 |
commit | 575d05fe0c1040be88898d12666fd9af131bb0c9 (patch) | |
tree | de11250e0aa9a63cf6393a6e569f860eb38d743a /tests | |
parent | 85ca59993582ea54ac5843671d755e5337a2d599 (diff) | |
download | mastodon.py-575d05fe0c1040be88898d12666fd9af131bb0c9.tar.gz |
Improve media test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_media.py | 2 |
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: |