def test_has_build_info_returns_true_when_there_is_build_info(self):
     commit_results = CommitResults(create_commit(), TestsResults(),
                                    create_build_info())
     self.assertTrue(commit_results.has_build_info())
 def test_has_build_info_returns_false_when_no_build_info(self):
     commit_results = CommitResults(create_commit(), TestsResults())
     self.assertFalse(commit_results.has_build_info())