Add card tests

This commit is contained in:
Zed
2019-08-13 00:29:48 +02:00
parent 1a3ba05bc0
commit 8141222c93
2 changed files with 160 additions and 0 deletions

View File

@@ -1,6 +1,16 @@
from seleniumbase import BaseCase
class Card(object):
def __init__(self, tweet=''):
card = tweet + '.card '
self.link = card + 'a'
self.title = card + '.card-title'
self.description = card + '.card-description'
self.destination = card + '.card-destination'
self.image = card + '.card-image'
class Quote(object):
def __init__(self, tweet=''):
quote = tweet + '.quote '