Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created August 18, 2014 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/43ae1be4c30f7faa5da9 to your computer and use it in GitHub Desktop.
Save notmyname/43ae1be4c30f7faa5da9 to your computer and use it in GitHub Desktop.
swift@saio:~/python-swiftclient$ ./.unittests
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tests/unit} --list
running=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tests/unit} --load-list /tmp/tmpayAGBX
======================================================================
FAIL: tests.unit.test_shell.TestParsing.test_args_v3
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/unit/test_shell.py", line 545, in test_args_v3
self._verify_opts(result[0], opts, os_opts, os_opts_dict)
File "tests/unit/test_shell.py", line 474, in _verify_opts
getattr(actual_opts, pair[1]))
File "/usr/lib/python2.7/unittest/case.py", line 511, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python2.7/unittest/case.py", line 504, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 'user' != 'test:tester'
Authorization Failure. Authorization failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to http://127.0.0.1:8080/auth/v1.0/auth/tokens)
Authorization Failure. Authorization failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to http://127.0.0.1:8080/auth/v1.0/auth/tokens)
======================================================================
FAIL: tests.unit.test_shell.TestParsing.test_insufficient_args_v3
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/unit/test_shell.py", line 601, in test_insufficient_args_v3
self.assertRaises(SystemExit, swiftclient.shell.main, args)
File "/usr/lib/python2.7/unittest/case.py", line 471, in assertRaises
callableObj(*args, **kwargs)
File "/usr/lib/python2.7/unittest/case.py", line 115, in __exit__
"{0} not raised".format(exc_name))
AssertionError: SystemExit not raised
Authorization Failure. Authorization failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to http://127.0.0.1:8080/auth/v1.0/auth/tokens)
======================================================================
FAIL: tests.unit.test_shell.TestParsing.test_insufficient_env_vars_v3
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/unit/test_shell.py", line 615, in test_insufficient_env_vars_v3
self.assertRaises(SystemExit, swiftclient.shell.main, args)
File "/usr/lib/python2.7/unittest/case.py", line 471, in assertRaises
callableObj(*args, **kwargs)
File "/usr/lib/python2.7/unittest/case.py", line 115, in __exit__
"{0} not raised".format(exc_name))
AssertionError: SystemExit not raised
======================================================================
FAIL: tests.unit.test_shell.TestParsing.test_minimum_required_args_v3
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/unit/test_shell.py", line 489, in test_minimum_required_args_v3
self._verify_opts(result[0], opts, os_opts, {})
File "tests/unit/test_shell.py", line 474, in _verify_opts
getattr(actual_opts, pair[1]))
File "/usr/lib/python2.7/unittest/case.py", line 511, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python2.7/unittest/case.py", line 504, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 'user' != 'test:tester'
======================================================================
FAIL: process-returncode
tags: worker-0
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
Ran 299 (+298) tests in 6.377s
FAILED (id=3, failures=5 (+4))
error: testr failed (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment