[nailgun][tests] Teach Environment() methods to accept entities via parameters

Bug #1398043 reported by Aleksey Kasatkin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Andrey Tykhonov

Bug Description

We have a number of test.base.Environment() methods like launch_deployment(), stop_deployment(), reset_environment() which can operate only with self.clusters[0] object but they can be useful to make same operations with another objects. Parameters should be added to these methods to accept user-defined objects.

Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Ivan Kliuk (ivankliuk)
Changed in fuel:
assignee: Ivan Kliuk (ivankliuk) → Fuel Python Team (fuel-python)
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
removed: nailgun
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.1 → 7.0
milestone: 7.0 → next
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: next → 7.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Andrey Tykhonov (atykhonov)
status: Confirmed → In Progress
Changed in fuel:
status: In Progress → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/256165
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=0896ae9cceb7887034f122683cb3d6328f9c1d33
Submitter: Jenkins
Branch: master

commit 0896ae9cceb7887034f122683cb3d6328f9c1d33
Author: Andrey Tykhonov <email address hidden>
Date: Fri Dec 11 02:44:27 2015 +0200

    Allow to make operations on a given cluster

    Add parameter (`cluster_id`) to the appropriate methods to make
    possible to perform operations (such as launch deployment, reset
    environment etc) on a given cluster.

    Change-Id: I6cc80335cbcdaa11be57e6cfc61ea579a39ac90e
    Closes-Bug: #1398043

Changed in fuel:
status: In Progress → Fix Committed
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.