Ask Your Question

How can I add module for nose in tempest?

asked 2013-10-21 03:22:46 -0600

cwygl gravatar image

updated 2013-10-25 17:06:55 -0600

smaffulli gravatar image

Now I always meet the error below and I found that I need module, but how can I add module for nose in openstack tempest module.

ERROR: Failure: AttributeError ('module' object has no attribute 'WithAttributes')
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/local/eayun-tempest/tempest/api/compute/flavors/", line 18, in <module>
    from tempest.api.compute import base
  File "/local/eayun-tempest/tempest/api/compute/", line 25, in <module>
    import tempest.test
  File "/local/eayun-tempest/tempest/", line 98, in <module>
AttributeError: 'module' object has no attribute 'WithAttributes'
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-01 08:24:55 -0600

DennyZhang gravatar image

How about: pip install --upgrade testtools

It would be great, if you can elaborate the reproduce procedures for this problem.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-21 03:22:46 -0600

Seen: 352 times

Last updated: Nov 01 '13