Commit Graph

3 Commits (59e166b62a11ee4adfc92abea91f0224a4789476)

Author SHA1 Message Date
howardlee 22c627abaf Add __ne__ built-in function
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result, but in Python 2 they urge you to define __ne__ when you define
__eq__ for it to work properly [1]. There are no implied relationships
among the comparison operators. The truth of x==y does not imply that
x!=y is false. Accordingly, when defining __eq__(), one should also
define __ne__() so that the operators will behave as expected.


Change-Id: I9eb823d25d3b119653f31718056576dbc59b6960
7 years ago
dharmendra dc5ee73140 Refactor Tacker unit tests to remove xml support
In part of test refactoring, removing xml support form tacker/tests/unit
and tacker/api

Change-Id: Ia23564990fe6070c5f9163618688bfcab4dc87de
Partial-Bug: #1579167
7 years ago
Isaku Yamahata 6125f5fcab rename neutron/tests to tacker/tests
Change-Id: I8a06ad8acde84b6635b87a9679924443550feaa8
9 years ago