def test_test_execution_with_failed(self): execution = TestExecution.with_failed() self.assertEquals(execution.status.name, "failed")
def test_test_execution_with_success(self): execution = TestExecution.with_success() self.assertEquals(execution.status.name, "success")