mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 14:49:32 +00:00
Update tests
This commit is contained in:
parent
1d57f1f432
commit
083d65a8cf
4 changed files with 24 additions and 29 deletions
|
|
@ -71,8 +71,8 @@ emoji = [
|
|||
]
|
||||
|
||||
retweet = [
|
||||
[7, 'mobile_test_2', 'mobile test 2', 'Test account', '@mobile_test', '1234'],
|
||||
[3, 'mobile_test_8', 'mobile test 8', 'jack', '@jack', 'twttr']
|
||||
[7, 'mobile_test_2', 'mobile test 2', 'Test account', '@mobile_test',
|
||||
'Testing. 1234.']
|
||||
]
|
||||
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ class TweetTest(BaseTestCase):
|
|||
link = self.find_link_text(f'@{un}')
|
||||
self.assertIn(f'/{un}', link.get_property('href'))
|
||||
|
||||
@parameterized.expand(retweet)
|
||||
@parameterized.expand(retweet, skip_on_empty=True)
|
||||
def test_retweet(self, index, url, retweet_by, fullname, username, text):
|
||||
self.open_nitter(url)
|
||||
tweet = get_timeline_tweet(index)
|
||||
|
|
|
|||
Loading…
Reference in a new issue