Funnily enough I'm only able to reproduce this by running all the tests, eg if I run:
$ tox -evenv -- nosetests --tests=glance.tests.unit.common.test_wsgi:JSONRequestDeserializerTest.test_get_bind_addr_default_value GLOB sdist-make: /home/ubuntu/git/glance.new/glance/setup.py venv inst-nodeps: /home/ubuntu/git/glance.new/glance/.tox/dist/glance-2013.2.a20.g0f669d5.zip venv runtests: commands[0] | nosetests --tests=glance.tests.unit.common.test_wsgi:JSONRequestDeserializerTest.test_get_bind_addr_default_value
JSONRequestDeserializerTest test_get_bind_addr_default_value OK 0.00
---------------------------------------------------------------------- Ran 1 test in 0.004s
OK __________________________________________________________________________________ summary ___________________________________________________________________________________ venv: commands succeeded congratulations :)
It seems to work ok.
Just $ tox -evenv reproduces
I'm not sure if there's a 'better' way to run a single test which would reproduce without having to run all tests.
Funnily enough I'm only able to reproduce this by running all the tests, eg if I run:
$ tox -evenv -- nosetests --tests= glance. tests.unit. common. test_wsgi: JSONRequestDese rializerTest. test_get_ bind_addr_ default_ value git/glance. new/glance/ setup.py git/glance. new/glance/ .tox/dist/ glance- 2013.2. a20.g0f669d5. zip glance. tests.unit. common. test_wsgi: JSONRequestDese rializerTest. test_get_ bind_addr_ default_ value
GLOB sdist-make: /home/ubuntu/
venv inst-nodeps: /home/ubuntu/
venv runtests: commands[0] | nosetests --tests=
JSONRequestDese rializerTest get_bind_ addr_default_ value OK 0.00
test_
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 1 test in 0.004s
OK _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _____ summary _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ ______
_______
venv: commands succeeded
congratulations :)
It seems to work ok.
Just
$ tox -evenv
reproduces
I'm not sure if there's a 'better' way to run a single test which would reproduce without having to run all tests.