-
Committer:
John Arbash Meinel
-
Date:
2009-06-18 18:18:36 UTC
-
mto:
This revision was merged to the branch mainline in
revision
4461.
-
Revision ID:
john@arbash-meinel.com-20090618181836-biodfkat9a8eyzjz
The new add_inventory_by_delta is returning a CHKInventory when mapping from NULL
Which is completely valid, but 'broke' one of the tests.
So to fix it, changed the test to use CHKInventories on both sides, and add an __eq__
member. The nice thing is that CHKInventory.__eq__ is fairly cheap, since it only
has to check the root keys.