test_server_addresses not being run since tempest/tests/compute contains no dunderinit file

Bug #955349 reported by Jay Pipes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
High
Jay Pipes

Bug Description

Can't run test_server_addresses because no __init__.py file is in /tempest/tests/compute:

jpipes@uberbox:~/repos/tempest$ nosetests -svx tempest.tests.compute.test_server_addresses
Failure: ImportError (No module named compute) ... ERROR

======================================================================
ERROR: Failure: ImportError (No module named compute)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/pymodules/python2.7/nose/importer.py", line 71, in importFromDir
    fh, filename, desc = find_module(part, path)
ImportError: No module named compute

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)

Tags: compute
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5354

Changed in tempest:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/5354
Committed: http://github.com/openstack/tempest/commit/ef6b5fc8fcd6de462f349a64ffa683bf680c6789
Submitter: Jenkins
Branch: master

commit ef6b5fc8fcd6de462f349a64ffa683bf680c6789
Author: Jay Pipes <email address hidden>
Date: Wed Mar 14 14:43:55 2012 -0400

    Fixes LP Bug# 955349 - No init file in compute tests

    * Adds a dunderinit file to tempest/tests/compute to enable
      server addresses tests...

    Change-Id: Iad3b7956f31fc5952831172d4b862d2a63aa631f

Jay Pipes (jaypipes)
Changed in tempest:
status: Fix Committed → Fix Released
Sean Dague (sdague)
Changed in tempest:
milestone: none → havana-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.