Skip to content

Commit

Permalink
Sort the results so that minor variations aren't errors
Browse files Browse the repository at this point in the history
  • Loading branch information
scotchi committed Jan 14, 2014
1 parent e9f3a46 commit 5a8b433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/directed_edge_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def testRelated(self):

def testGroupRelated(self):
self.assert_(len(self.database.group_related(["product1", "product2"], ["product"])) > 0)
self.assert_(self.database.group_related(["product1"]) ==
self.product.related())
self.assert_(sorted(self.database.group_related(["product1"])) ==
sorted(self.product.related()))

def testProperties(self):
self.customer["foo"] = "bar"
Expand Down

0 comments on commit 5a8b433

Please sign in to comment.