Language Pack Test get all missing cleanup

Bug #1406647 reported by Akshay Chhajed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
Undecided
Akshay Chhajed

Bug Description

The function test TestLanguagePackController.test_language_packs_get_all does not cleanup properly

vagrant@devstack:/opt/stack/solum$ solum languagepack list
+------+------+-------------+-------------------+-------------+
| uuid | name | description | compiler_versions | os_platform |
+------+------+-------------+-------------------+-------------+
+------+------+-------------+-------------------+-------------+
vagrant@devstack:/opt/stack/solum$ nosetests --tests functionaltests.api.v1.test_language_pack:TestLanguagePackController.test_language_packs_get_all
.
----------------------------------------------------------------------
Ran 1 test in 0.507s

OK
vagrant@devstack:/opt/stack/solum$ solum languagepack list
+--------------------------------------+--------------------+--------------------------------+--------------------------+------------------------------------------+
| uuid | name | description | compiler_versions | os_platform |
+--------------------------------------+--------------------+--------------------------------+--------------------------+------------------------------------------+
| 778d85fe-3d5f-428a-ae36-224d6a1dc05b | test_language_pack | A test to create language_pack | [u'1.5', u'1.4', u'1.6'] | {u'version': u'12.04', u'OS': u'Ubuntu'} |
+--------------------------------------+--------------------+--------------------------------+--------------------------+------------------------------------------+
vagrant@devstack:/opt/stack/solum$

after the test, the language pack list should not include the test entry.

Changed in solum:
assignee: nobody → Akshay Chhajed (akshaychhajedmail)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solum (master)

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

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

Reviewed: https://review.openstack.org/144530
Committed: https://git.openstack.org/cgit/stackforge/solum/commit/?id=4e13ef6f92a3930678126ef4fb0e2e70124ce375
Submitter: Jenkins
Branch: master

commit 4e13ef6f92a3930678126ef4fb0e2e70124ce375
Author: Akshay Chhajed <email address hidden>
Date: Tue Dec 30 17:13:11 2014 -0500

    Clean up after test_language_packs_get_all
    Try 2
    Closes-Bug: #1406647

    Change-Id: Ie819da57d07b7213241757af9ea7c8d55a1e66b5

Changed in solum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in solum:
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.