Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottl committed May 30, 2019
1 parent 3822cd7 commit dd9331a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ def test_QuerySearch():
.setUntil("2015-09-30")\
.setMaxTweets(1)
tweet = got.manager.TweetManager.getTweets(tweetCriteria)[0]
assert tweet.hashtags.lower() == '#europe #refugees'
assert '#europe' in tweet.hashtags.lower()
assert '#refugees' in tweet.hashtags.lower()

0 comments on commit dd9331a

Please sign in to comment.