On 09/24/2015 08:18 PM, Andrey Kurilin wrote:
I agree that wrong order of arguments misleads while debugging errors, BUT
how we can prevent regression?

Spell it out and use keyword args?

  assertEqual(expected="foo", observed=...)

is pretty hard to mess up

-i

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to