]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure ofagent unit tests handles random hashseeds
authorBradley Jones <jones.bradley@me.com>
Mon, 20 Oct 2014 11:34:55 +0000 (12:34 +0100)
committerBradley Jones <jones.bradley@me.com>
Mon, 20 Oct 2014 11:50:33 +0000 (12:50 +0100)
commitab0992cf5303752f054ad4d47f0a949aadbea83a
tree04225a02615aec4494f7e9e04bc0aa1f70e7f1ed
parenta10e2aa7340468f0869aab14033fa926b6b17a99
Ensure ofagent unit tests handles random hashseeds

Several tests in test_ofa_neutron_agent.py and test_ofa_flows.py fail when
running the unit tests with hashseed 2701526934.

This patch fixes the failing unit tests by specifying that assert_has_calls does
not need to assert any order.

Change-Id: I48d6601130f7de1f6eeb7333a17eddd82e7acbdf
Partial-Bug: 1348818
neutron/tests/unit/ofagent/test_ofa_flows.py
neutron/tests/unit/ofagent/test_ofa_neutron_agent.py