]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Replace assertEquals with assertEqual
authorZhongyue Luo <zhongyue.nah@intel.com>
Fri, 6 Sep 2013 07:27:20 +0000 (15:27 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Fri, 6 Sep 2013 08:19:07 +0000 (16:19 +0800)
commit902dc88b4c511859f164fed4c4ac8ce0c60b09ee
tree30899ebc933171d44973e22d54854082a5b20c67
parent1a25274e7acdb80993cff1974fbcdfb64dc26d24
Replace assertEquals with assertEqual

The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.

Fixes bug #1221601

Change-Id: Id502cfbc210c6c3fe0a256d5350e159ffa220141
neutron/tests/unit/test_iptables_manager.py
neutron/tests/unit/test_l3_agent.py