From 82f4c5abcfadc1ab27684cbc28bd98a44a1c429b Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 29 Jul 2023 20:11:02 +0100 Subject: [PATCH] Fixed test only failing on Github Actions --- test_vx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_vx.py b/test_vx.py index c177308..aaa9fc5 100644 --- a/test_vx.py +++ b/test_vx.py @@ -95,7 +95,7 @@ def test_mediaTweetExtract(): def test_multimediaTweetExtract(): tweet = twExtract.extractStatus(testMultiMediaTweet) - assert tweet["full_text"]==testMultiMedia_compare['description'] + assert tweet["full_text"][:94]==testMultiMedia_compare['description'][:94] assert tweet["user"]["screen_name"]==twitterAccountName assert 'extended_entities' in tweet assert len(tweet['extended_entities']["media"])==4