test account was changed a bit, fixes #13
This commit is contained in:
parent
57358a56df
commit
20301e10db
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,12 @@
|
|||
import unittest
|
||||
|
||||
import fastly
|
||||
|
||||
|
||||
class APITest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.api = fastly.API()#host='127.0.0.1', port=5500, secure=False)
|
||||
self.api = fastly.API()
|
||||
|
||||
def test_purge(self):
|
||||
self.assertTrue(self.api.purge_url('test.com', '/'))
|
||||
|
@ -20,7 +23,7 @@ class APITest(unittest.TestCase):
|
|||
|
||||
def test_auth_session_success(self):
|
||||
self.api.deauthenticate()
|
||||
self.api.authenticate_by_password('foo@test.com', 'password')
|
||||
self.api.authenticate_by_password('foo@example.com', 'password')
|
||||
self.api.conn.request('GET', '/current_customer')
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Reference in a new issue