mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 14:49:32 +00:00
Add quote tests
This commit is contained in:
parent
07cca94916
commit
67467aa70d
3 changed files with 83 additions and 3 deletions
|
|
@ -1,6 +1,20 @@
|
|||
from seleniumbase import BaseCase
|
||||
|
||||
|
||||
class Quote(object):
|
||||
def __init__(self, tweet=''):
|
||||
quote = tweet + '.quote '
|
||||
namerow = quote + '.fullname-and-username '
|
||||
self.link = quote + '.quote-link'
|
||||
self.fullname = namerow + '.fullname'
|
||||
self.username = namerow + '.username'
|
||||
self.text = quote + '.quote-text'
|
||||
self.media = quote + '.quote-media'
|
||||
self.unavailable = quote + '.quote.unavailable'
|
||||
self.sensitive = quote + '.quote-sensitive'
|
||||
self.badge = quote + '.quote-badge'
|
||||
|
||||
|
||||
class Tweet(object):
|
||||
def __init__(self, tweet=''):
|
||||
namerow = tweet + '.tweet-header '
|
||||
|
|
|
|||
Loading…
Reference in a new issue