def test_has_results_returns_true_when_there_are_results(self): commit_results = CommitResults(create_commit(), TestsResults([create_test_results()])) self.assertTrue(commit_results.has_results())
def test_has_results_returns_false_when_no_results(self): commit_results = CommitResults(create_commit(), TestsResults()) self.assertFalse(commit_results.has_results())