WIP: 3.0.0 #210
1 changed files with 8 additions and 1 deletions
|
|
@ -50,9 +50,16 @@ class TwythonAuthTestCase(unittest.TestCase):
|
||||||
|
|
||||||
class TwythonAPITestCase(unittest.TestCase):
|
class TwythonAPITestCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
||||||
|
client_args = {
|
||||||
|
'headers': {
|
||||||
|
'User-Agent': '__twython__ Test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
self.api = Twython(app_key, app_secret,
|
self.api = Twython(app_key, app_secret,
|
||||||
oauth_token, oauth_token_secret,
|
oauth_token, oauth_token_secret,
|
||||||
headers={'User-Agent': '__twython__ Test'})
|
client_args=client_args)
|
||||||
|
|
||||||
def test_construct_api_url(self):
|
def test_construct_api_url(self):
|
||||||
"""Test constructing a Twitter API url works as we expect"""
|
"""Test constructing a Twitter API url works as we expect"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue