Started adding support for Twitter Ads API.
This commit is contained in:
parent
885051acdc
commit
3219026432
5 changed files with 604 additions and 0 deletions
23
tests/test_core_ads.py
Normal file
23
tests/test_core_ads.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
from .config import (
|
||||
test_tweet_object, test_tweet_html, unittest
|
||||
)
|
||||
|
||||
import responses
|
||||
import requests
|
||||
from twython.api_ads import TwythonAds
|
||||
|
||||
from twython.compat import is_py2
|
||||
if is_py2:
|
||||
from StringIO import StringIO
|
||||
else:
|
||||
from io import StringIO
|
||||
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
import mock
|
||||
|
||||
|
||||
class TwythonAPITestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.api = TwythonAds('', '', '', '')
|
||||
Loading…
Add table
Add a link
Reference in a new issue