]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure assertion matches dict iter order in test
authorKevin Benton <blak111@gmail.com>
Tue, 5 Aug 2014 06:04:33 +0000 (00:04 -0600)
committerKevin Benton <blak111@gmail.com>
Wed, 6 Aug 2014 05:29:41 +0000 (22:29 -0700)
commit5ae2d9145be180ad2e8df7e887091a7fbad8fb08
tree5fe70de461ab8704afa4bb88638a7d51723563f1
parent6bd6debebe601fa4076dc34e9c9fdac45defdd58
Ensure assertion matches dict iter order in test

Fixes a test_linux_ip_lib test that made an assertion
on a command that was called that could fail depending
on the order of the dictionary when it was iterated over.

This patch makes the assertion match the order that the
command is constructed by iterating through the dictionary
as well.

Partial-Bug: #1348818
Change-Id: I7baa518169c193f7e98d38632e1db16eb57ffee7
neutron/tests/unit/test_linux_ip_lib.py