]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixed test test_update_port_security_off_address_pairs
authorRoey Chen <roeyc@vmware.com>
Tue, 9 Dec 2014 13:57:33 +0000 (05:57 -0800)
committerRoey Chen <roeyc@vmware.com>
Mon, 15 Dec 2014 08:13:01 +0000 (00:13 -0800)
commit7c18d1191c79fcfe46b60b6e5d8f06a687c86688
treedb6b153a5942609062fcc268ff4ec6d8dd1ef7ed
parentb4a0fa3c34cd193c953557cc0931681ff0582768
Fixed test test_update_port_security_off_address_pairs

This test checks that port-update fails with 409 return code when
port-security is turned off on a port which contains address-pairs.
The test had a typo ('security-groups' -> 'security-group') which would
have cause it to produce false-positive.
This change rewrites the test and eliminates the possibility of this
false-positive to occurs.

Change-Id: Ib54ad089872f28eb28a3d4d050ba0ee8fdc2bfe2
Closes-Bug: #1400725
Signed-off-by: Roey Chen <roeyc@vmware.com>
neutron/tests/unit/test_extension_allowedaddresspairs.py