fastly / fastly-py

A Fastly API client for Python
https://pypi.org/project/fastly/
MIT License
77 stars 59 forks source link

failing test: test_auth_session_success #13

Closed edmund-huber closed 10 years ago

edmund-huber commented 10 years ago
$ python -m test.api_test
..E.
======================================================================
ERROR: test_auth_session_success (__main__.APITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/edmund/fastly/fastly-py/test/api_test.py", line 23, in test_auth_session_success
    self.api.authenticate_by_password('foo@test.com', 'password')
  File "fastly/fastly.py", line 23, in authenticate_by_password
    self.conn.authenticator = SessionAuthenticator(self.conn, login, password)
  File "fastly/auth.py", line 18, in __init__
    resp, data = conn.request('POST', '/login', body)
  File "fastly/connection.py", line 44, in request
    raise AuthenticationError()
AuthenticationError

----------------------------------------------------------------------
Ran 4 tests in 0.784s

FAILED (errors=1)