unit tests fixed

This commit is contained in:
Grégoire Mureau 2025-07-16 11:44:57 +02:00
parent 3a7e603952
commit 4e23a08f74

View file

@ -25,12 +25,4 @@ def test_preprocess_tweet_lowercases_text():
My 3rd time w/ @AirParadis & still amazed 😍 Crew = lovely à every step! My 3rd time w/ @AirParadis & still amazed 😍 Crew = lovely à every step!
#flyhappy #AirParadis #flyhappy #AirParadis
""" """
assert preprocess_tweet(tweet) == '3rd time w < MENTION > still amazed crew lovely à every step ! # flyhappy # airparadis' assert preprocess_tweet(tweet) == '3rd time w < MENTION > still amazed crew lovely every step ! # flyhappy # airparadis'
tweet = """
Just flew w/ @AirParadis &#128640; &amp; I&#8217;m in LOVE! Epic service, comfy seats.
#bestflight #AirParadis
"""
preprocess_tweet(tweet)