[ create a new paste ] login | about

Link: http://codepad.org/R9Rua5Fe    [ raw code | fork ]

Plain Text, pasted on Sep 28:
(.nova-venv)jpipes@serialcoder:~/repos/nova/add-glance/nova/tests/api/rackspace$ python auth.py
FFFFFF
======================================================================
FAIL: test_authorize_token (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "auth.py", line 49, in test_authorize_token
    self.assertEqual(result.status, '204 No Content')
AssertionError: '404 Not Found' != '204 No Content'

======================================================================
FAIL: test_authorize_user (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "auth.py", line 35, in test_authorize_user
    self.assertEqual(result.status, '204 No Content')
AssertionError: '404 Not Found' != '204 No Content'

======================================================================
FAIL: test_bad_token (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "auth.py", line 105, in test_bad_token
    self.assertEqual(result.status, '401 Unauthorized')
AssertionError: '404 Not Found' != '401 Unauthorized'

======================================================================
FAIL: test_bad_user (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "auth.py", line 94, in test_bad_user
    self.assertEqual(result.status, '401 Unauthorized')
AssertionError: '404 Not Found' != '401 Unauthorized'

======================================================================
FAIL: test_no_user (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "auth.py", line 99, in test_no_user
    self.assertEqual(result.status, '401 Unauthorized')
AssertionError: '404 Not Found' != '401 Unauthorized'

======================================================================
FAIL: test_token_expiry (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "auth.py", line 86, in test_token_expiry
    self.assertEqual(result.status, '401 Unauthorized')
AssertionError: '404 Not Found' != '401 Unauthorized'

----------------------------------------------------------------------
Ran 6 tests in 0.312s

FAILED (failures=6)


Create a new paste based on this one


Comments: