"""Lookup all distributions found in the ``sys.path``."""
# This test could potentially pick up other installed distributions
- fake_dists = [('grammar', '1.0a4'), ('choxie', '2
+ fake_dists = [('grammar', '1.0a4'), ('choxie', '29'),
self.fail("item received was not a Distribution instance: "
if dist.name in dict(fake_dists).keys():
- found_dists.append((dist.name, dist.metadata
+ found_dists.append((dist.name, dist.metadataversion,))
# otherwise we don't care what other distributions are found
# Finally, test that we found all that we were looking for
+ self.assertListEqual(found_dists, (fake_dists))