Unit test module can't be added

Bug #1543023 reported by Hidekazu Nakamura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Hidekazu Nakamura

Bug Description

Add cmd.test_dummy module under murano/tests/unit and then executed tox, Error log is the following:

==============================
Failed 1 tests - output below:
==============================

unittest2.loader._FailedTest.cmd.test_dummy
-------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
    ImportError: Failed to import test module: cmd.test_dummy
    Traceback (most recent call last):
      File "/home/hid-nakamura/murano/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
        module = self._get_module_from_name(name)
      File "/home/hid-nakamura/murano/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
        __import__(name)
    ImportError: No module named test_dummy

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

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

Changed in murano:
assignee: nobody → Hidekazu Nakamura (nakamura-h)
status: New → In Progress
Stan Lagun (slagun)
Changed in murano:
milestone: none → 1.0.3
importance: Undecided → Medium
tags: added: kilo-backport-potential liberty-backport-potential
Changed in murano:
milestone: 1.0.3 → mitaka-3
Revision history for this message
Hidekazu Nakamura (nakamura-h) wrote :

Stan, Could you review https://review.openstack.org/277323, please?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/277323
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=c3786f2592b03a4163b9f767c7393e550343f9ba
Submitter: Jenkins
Branch: master

commit c3786f2592b03a4163b9f767c7393e550343f9ba
Author: Hidekazu Nakamura <email address hidden>
Date: Mon Feb 8 17:48:54 2016 +0900

    Fix adding unit test module

    Unit test module can not be added. This patch fixes it.

    Change-Id: I1de509b061bd5d3fe0cd5e27673c54a13209a56a
    Closes-Bug: #1543023

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano 2.0.0.0b3

This issue was fixed in the openstack/murano 2.0.0.0b3 development milestone.

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.