def wasSuccessful(self):
if self.args.minimum_coverage != None:<EOL><INDENT>if self.coverage_percent < self.args.minimum_coverage:<EOL><INDENT>self.stream.writeln(self.colors.red(<EOL>"<STR_LIT>"<EOL>.format(self.coverage_percent, self.args.minimum_coverage)))<EOL>return False<EOL><DEDENT><DEDENT>if sum(len(x) for x in [<EOL>self.errors,<EOL>self.expectedFailures,<EOL>self.failures,<EOL>self.passing,<EOL>self.skipped,<EOL>self.unexpectedSuccesses]) == <NUM_LIT:0>:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return len(self.all_errors) == <NUM_LIT:0><EOL><DEDENT>
Tells whether or not the overall run was successful