db_plugin.test_delete_port does not test port-delete

Bug #1282946 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Akihiro Motoki

Bug Description

test_delete_port in test_db_plugin does not test delete operation:

    def test_delete_port(self):
        with self.port() as port:
            req = self.new_show_request('port', self.fmt, port['port']['id'])
            res = req.get_response(self.api)
            self.assertEqual(res.status_int, webob.exc.HTTPNotFound.code)

Tags: unittest
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Akihiro Motoki (amotoki)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/75348
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7ad82b95f611678f71fd500b6541e04ff8359d15
Submitter: Jenkins
Branch: master

commit 7ad82b95f611678f71fd500b6541e04ff8359d15
Author: Akihiro Motoki <email address hidden>
Date: Fri Feb 21 18:25:28 2014 +0900

    Fix test_db_plugin.test_delete_port

    Also add PortNotFound check to test_delete_port_public_network.

    Change-Id: Iec461364345b200e2d17ba26a6c5362eec6d93ef
    Closes-Bug: #1282946

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-3 → 2014.1
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.