Remove redundant code from magnum.test.utils

Bug #1476458 reported by Hua Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Hua Wang

Bug Description

Some codes in magnum.tests.utils is redundant. The Database class has been defined in magnum.test.unit.db.base.
get_dummy_session and create_models_from_data are not used by other codes. So we just remove it.

Hua Wang (humble00)
Changed in magnum:
assignee: nobody → Hua Wang (humble00)
Hua Wang (humble00)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Changed in magnum:
status: New → In Progress
Hua Wang (humble00)
summary: - magnum.tests.utils is useless
+ Remove redundant code from magnum.test.utils
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/203942
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=cb63897e0ee5c3e179c05ba0b9191fac09ff3401
Submitter: Jenkins
Branch: master

commit cb63897e0ee5c3e179c05ba0b9191fac09ff3401
Author: Hua Wang <email address hidden>
Date: Mon Jul 13 23:50:16 2015 +0800

    Remove redundant code from magnum.test.utils

    Some codes in magnum.tests.utils is redundant. The Database class
    has been defined in magnum.test.unit.db.base. get_dummy_session
    and create_models_from_data are not used by other codes. So we
    just remove it.

    Change-Id: Ib91e1f61f0032221fe4f45237b5ea8cf09d13564
    Closes-Bug: 1476458

Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
status: Fix Committed → Fix Released
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.