Skip to content

Instantly share code, notes, and snippets.

@dolph
Created June 12, 2013 21:19
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 dolph/d5a37860a76b1553d770 to your computer and use it in GitHub Desktop.
Save dolph/d5a37860a76b1553d770 to your computer and use it in GitHub Desktop.
$ tox
GLOB sdist-make: /Users/dolph/Projects/python-keystoneclient/setup.py
py26 recreate: /Users/dolph/Projects/python-keystoneclient/.tox/py26
py26 installdeps: -r/Users/dolph/Projects/python-keystoneclient/requirements.txt, -r/Users/dolph/Projects/python-keystoneclient/test-requirements.txt
py26 inst: /Users/dolph/Projects/python-keystoneclient/.tox/dist/python-keystoneclient-0.2.5.4.g76daaff.zip
py26 runtests: commands[0]
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/Users/dolph/Projects/python-keystoneclient/.tox/py26/lib/python2.6/site-packages/subunit/run.py", line 120, in <module>
stdout=sys.stdout)
File "/Users/dolph/Projects/python-keystoneclient/.tox/py26/lib/python2.6/site-packages/testtools/run.py", line 175, in __init__
self.parseArgs(argv)
File "/Users/dolph/Projects/python-keystoneclient/.tox/py26/lib/python2.6/site-packages/testtools/run.py", line 214, in parseArgs
self._do_discovery(argv[2:])
File "/Users/dolph/Projects/python-keystoneclient/.tox/py26/lib/python2.6/site-packages/testtools/run.py", line 266, in _do_discovery
raise AssertionError("Unable to use discovery, must use python 2.7 "
AssertionError: Unable to use discovery, must use python 2.7 or greater, or install the discover package.
======================================================================
FAIL: process-returncode
tags: worker-0
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
Ran 1 (-1) tests
FAILED (id=18, failures=1 (-1))
error: testr failed (1)
ERROR: InvocationError: '/Users/dolph/Projects/python-keystoneclient/.tox/py26/bin/python setup.py testr --testr-args='
py27 recreate: /Users/dolph/Projects/python-keystoneclient/.tox/py27
py27 installdeps: -r/Users/dolph/Projects/python-keystoneclient/requirements.txt, -r/Users/dolph/Projects/python-keystoneclient/test-requirements.txt
py27 inst: /Users/dolph/Projects/python-keystoneclient/.tox/dist/python-keystoneclient-0.2.5.4.g76daaff.zip
py27 runtests: commands[0]
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests
No handlers could be found for logger "keystoneclient.middleware.auth_token"
Ran 329 (+328) tests in 1.585s
PASSED (id=19)
pep8 recreate: /Users/dolph/Projects/python-keystoneclient/.tox/pep8
pep8 installdeps: -r/Users/dolph/Projects/python-keystoneclient/requirements.txt, -r/Users/dolph/Projects/python-keystoneclient/test-requirements.txt
pep8 inst: /Users/dolph/Projects/python-keystoneclient/.tox/dist/python-keystoneclient-0.2.5.4.g76daaff.zip
pep8 runtests: commands[0]
______________________________________________________________ summary _______________________________________________________________
ERROR: py26: commands failed
py27: commands succeeded
pep8: commands succeeded
(os)python-keystoneclient $ ./run_tests.sh -N
Running ` python setup.py testr --testr-args=' '`
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests
No handlers could be found for logger "keystoneclient.middleware.auth_token"
======================================================================
FAIL: tests.test_auth_token_middleware.AuthTokenMiddlewareTest.test_encrypt_cache_data
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_auth_token_middleware.py", line 1101, in test_encrypt_cache_data
self.assertEqual(self.middleware._cache_get(token), data[0])
MismatchError: None != 'this_data'
======================================================================
FAIL: tests.test_auth_token_middleware.AuthTokenMiddlewareTest.test_no_memcache_protection
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_auth_token_middleware.py", line 1132, in test_no_memcache_protection
self.assertEqual(self.middleware._cache_get(token), data[0])
MismatchError: None != 'this_data'
======================================================================
FAIL: tests.test_auth_token_middleware.AuthTokenMiddlewareTest.test_sign_cache_data
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_auth_token_middleware.py", line 1117, in test_sign_cache_data
self.assertEqual(self.middleware._cache_get(token), data[0])
MismatchError: None != 'this_data'
======================================================================
FAIL: process-returncode
tags: worker-0
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
Ran 330 (+1) tests in 2.288s (+0.703s)
FAILED (id=20, failures=4 (+4))
error: testr failed (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment