Fixed test only failing on Github Actions

This commit is contained in:
Dylan 2023-07-29 20:11:02 +01:00
parent 0c66a2c918
commit 82f4c5abcf

View File

@ -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