Add mocks for different kinds of media/tweets

This commit is contained in:
Sonny Bakker 2020-08-07 16:43:26 +02:00
parent 13a87d5ecb
commit fec9af5626
2 changed files with 1591 additions and 2922 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,62 @@
from unittest import skip
from django.test import TestCase
class TwitterBuilderTestCase(TestCase):
def setUp(self):
self.maxDiff = None
@skip("Not implemented")
def test_simple_post(self):
pass
# Note that only one media type can be uploaded to an Tweet
# see https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/extended-entities-object
@skip("Not implemented")
def test_images_in_post(self):
pass
@skip("Not implemented")
def test_videos_in_post(self):
pass
@skip("Not implemented")
def test_GIFs_in_post(self):
pass
@skip("Not implemented")
def test_retweet_post(self):
pass
@skip("Not implemented")
def test_quoted_post(self):
pass
@skip("Not implemented")
def test_images_in_quoted_post(self):
pass
@skip("Not implemented")
def test_videos_in_quoted_post(self):
pass
@skip("Not implemented")
def test_GIFs_in_quoted_post(self):
pass
@skip("Not implemented")
def test_empty_data(self):
pass
@skip("Not implemented")
def test_update_posts(self):
pass
@skip("Not implemented")
def test_html_sanitizing(self):
pass
@skip("Not implemented")
def test_duplicate_in_data(self):
pass