def METHOD_NAME(self):
    build1 = self.project1.builds.get(version='1')
    build2 = self.project1.builds.get(version='2')
    history = TestHistory(self.project1, 'root', top=build1)
    self.assertIn(build1, history.results.keys())
    self.assertNotIn(build2, history.results.keys())
    self.assertEqual(build1, history.top)