From 575d05fe0c1040be88898d12666fd9af131bb0c9 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Jun 2018 11:39:31 +0200 Subject: Improve media test --- tests/test_media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): try: assert status['sensitive'] == sensitive assert status['media_attachments'] - assert status['media_attachments'][0]['description'] + assert status['media_attachments'][0]['description'] == "John Lennon doing a funny walk" assert status['media_attachments'][0]['meta']['focus']['x'] == -0.5 assert status['media_attachments'][0]['meta']['focus']['y'] == 0.3 finally: -- cgit v1.2.3