Unit tests for Mistral benchmark are not running in py27 gate

Bug #1452710 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Low
Anastasia Kuznetsova

Bug Description

__init__.py file is missed in the rally/tests/unit/benchmark/scenarios/mistral directory.

Also, after adding this file and running tests user will receive following error:
Traceback (most recent call last):
  File "/home/akuznetsova/COMMIT/rally/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "tests/unit/benchmark/scenarios/mistral/test_workbooks.py", line 39, in test_create_workbook
    mistral_scenario.create_delete_workbook(definition)
AttributeError: 'MistralWorkbooks' object has no attribute 'create_delete_workbook'

Changed in rally:
assignee: nobody → Anastasia Kuznetsova (akuznetsova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (master)

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

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

Reviewed: https://review.openstack.org/180974
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=95d5f20ad7fa1c8a2067b969e9c3c9ba2f887bf3
Submitter: Jenkins
Branch: master

commit 95d5f20ad7fa1c8a2067b969e9c3c9ba2f887bf3
Author: Anastasia Kuznetsova <email address hidden>
Date: Thu May 7 15:36:46 2015 +0300

    Fix Mistral unit tests

    - added __init__.py file into the dirctory with Mistral unit tests
    - fix unit tests: tests tried to call nonexistent method

    Change-Id: I2f2f6c3e044c55e89eb51f6e5c94f3030e889055
    Closes-Bug: #1452710

Changed in rally:
status: In Progress → Fix Committed
Changed in rally:
status: Fix Committed → Fix Released
milestone: none → 0.0.4
importance: Undecided → Low
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.