Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
test: update data for failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Lor committed Feb 2, 2024
1 parent 65b5acb commit 2fe0730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/_test_pnytter_tweets_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class GetTweetsYearprogress(BaseGetTweetsScenario):
TwitterTweet(tweet_id=1514106119383359496, author='year_progress', created_on=datetime.datetime(2022, 4, 13, 5, 0, tzinfo=datetime.timezone.utc), text='▓▓▓▓░░░░░░░░░░░ 28%', stats=TwitterTweet.Stats(comments=23, retweets=1096, quotes=75, likes=6698)),
TwitterTweet(tweet_id=1512792456886362113, author='year_progress', created_on=datetime.datetime(2022, 4, 9, 14, 0, tzinfo=datetime.timezone.utc), text='▓▓▓▓░░░░░░░░░░░ 27%', stats=TwitterTweet.Stats(comments=29, retweets=1023, quotes=99, likes=6521)),
TwitterTweet(tweet_id=1511463699281756163, author='year_progress', created_on=datetime.datetime(2022, 4, 5, 22, 0, tzinfo=datetime.timezone.utc), text='▓▓▓▓░░░░░░░░░░░ 26%', stats=TwitterTweet.Stats(comments=29, retweets=1038, quotes=112, likes=6563)),
TwitterTweet(tweet_id=1510979561009426438, author='year_progress', created_on=datetime.datetime(2022, 4, 4, 13, 56, tzinfo=datetime.timezone.utc), text="I don't understand. How would you represent 25% with 15 block characters? It's just rounding to the nearest.", stats=TwitterTweet.Stats(comments=1, retweets=0, quotes=0, likes=8)),
TwitterTweet(tweet_id=1510134952658182144, author='year_progress', created_on=datetime.datetime(2022, 4, 2, 6, 0, tzinfo=datetime.timezone.utc), text='▓▓▓▓░░░░░░░░░░░ 25%', stats=TwitterTweet.Stats(comments=84, retweets=3208, quotes=565, likes=13966)),
TwitterTweet(tweet_id=1508821297433919491, author='year_progress', created_on=datetime.datetime(2022, 3, 29, 15, 0, tzinfo=datetime.timezone.utc), text='▓▓▓▓░░░░░░░░░░░ 24%', stats=TwitterTweet.Stats(comments=41, retweets=1237, quotes=147, likes=7669)),
TwitterTweet(tweet_id=1507492540542562304, author='year_progress', created_on=datetime.datetime(2022, 3, 25, 23, 0, tzinfo=datetime.timezone.utc), text='▓▓▓░░░░░░░░░░░░ 23%', stats=TwitterTweet.Stats(comments=24, retweets=997, quotes=75, likes=6462)),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_pnytter_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ class ProfileTestParams(pydantic.BaseModel):
verified=False,
joined_datetime="2018-07-25T12:01:00Z",
stats=TwitterProfile.Stats(
# at 2023-06-24, decreased to less than expected
# at 2024-02-02, decreased to less than expected
tweets=34100,
following=1,
followers=560000,
followers=500000,
likes=0,
),
pictures=TwitterProfile.Pictures(
Expand Down

0 comments on commit 2fe0730

Please sign in to comment.