Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created August 18, 2014 19:38
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/2a9b57850db05c08e295 to your computer and use it in GitHub Desktop.
Save notmyname/2a9b57850db05c08e295 to your computer and use it in GitHub Desktop.
swift@saio:~/python-swiftclient$ tox -epy27
py27 develop-inst-nodeps: /home/swift/python-swiftclient
py27 runtests: commands[0] | python setup.py testr --testr-args=
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tests/unit}
======================================================================
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: 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 596, 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: 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 150 tests in 6.251s (-0.036s)
FAILED (id=8, failures=5)
error: testr failed (1)
ERROR: InvocationError: '/home/swift/python-swiftclient/.tox/py27/bin/python setup.py testr --testr-args='
______________________________________________________________________ summary _______________________________________________________________________
ERROR: py27: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment