Comment 4 for bug 1465188

ranjan kumar (ranjankumar188) wrote :

When i am using nosetests with --pdb debugger getting this error

Content type=text/x-traceback; charset="utf8"; language="python", value='Traceback (most recent call last):
  File "/glance/glance/tests/functional/db/test_registry.py", line 70, in setUp
    super(TestRegistryDriver, self).setUp()
  File "/glance/glance/tests/functional/db/base.py", line 94, in setUp
    super(TestDriver, self).setUp()
  File "/glance/glance/tests/functional/db/test_registry.py", line 61, in setUp
    use_user_token=True)
  File "/glance/glance/tests/utils.py", line 113, in config
    CONF.set_override(k, v, group)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1794, in __inner
    result = f(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2071, in set_override
   opt_info = self._get_opt_info(name, group)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2384, in _get_opt_info
    raise NoSuchOptError(opt_name, group)\noslo_config.cfg.NoSuchOptError: no such option: use_user_token