Comment 1 for bug 1204186

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote :

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.