Add quote tests

This commit is contained in:
Zed
2019-08-12 17:02:07 +02:00
parent 07cca94916
commit 67467aa70d
3 changed files with 83 additions and 3 deletions

View File

@@ -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 '