puppetlabs/puppetdb — pull request #504 by cprice-puppet (2013-04-30 00:02:36+00:00)
Title: Testutils for reports should munge resource events to a set

The order of the resource events returned by an event query
does not guarantee order; thus, we need to munge the results
into a set before we do comparisons in tests.