]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Updates tearDown() to release instance objects
authorIryoung Jeong <iryoung@gmail.com>
Thu, 22 Nov 2012 03:58:47 +0000 (12:58 +0900)
committerIryoung Jeong <iryoung@gmail.com>
Thu, 22 Nov 2012 19:41:14 +0000 (04:41 +0900)
commit8e94da49675310dae2e94a860e515ce5ac16f33f
treea153d71fda2e1c43e24f660fc3be01d5498bbe45
parentbe77fd3f47edcb83a44340ae8c1d033cb5dd6817
Updates tearDown() to release instance objects

This change fixes the bug by releasing the objects of the instance
of class QuantumDbPluginV2TestCase. Removing unnecessary objects
explicitly reduces the memory required by unit tests.

Fixes bug 1065276

Change-Id: Ia003a7718e1aedc4e4c8fb02b723f4a511ebc319
quantum/tests/unit/test_db_plugin.py