def assert_outcomes(<EOL>self, passed=<NUM_LIT:0>, skipped=<NUM_LIT:0>, failed=<NUM_LIT:0>, error=<NUM_LIT:0>, xpassed=<NUM_LIT:0>, xfailed=<NUM_LIT:0><EOL>):
d = self.parseoutcomes()<EOL>obtained = {<EOL>"<STR_LIT>": d.get("<STR_LIT>", <NUM_LIT:0>),<EOL>"<STR_LIT>": d.get("<STR_LIT>", <NUM_LIT:0>),<EOL>"<STR_LIT>": d.get("<STR_LIT>", <NUM_LIT:0>),<EOL>"<STR_LIT:error>": d.get("<STR_LIT:error>", <NUM_LIT:0>),<EOL>"<STR_LIT>": d.get("<STR_LIT>", <NUM_LIT:0>),<EOL>"<STR_LIT>": d.get("<STR_LIT>", <NUM_LIT:0>),<EOL>}<EOL>expected = {<EOL>"<STR_LIT>": passed,<EOL>"<STR_LIT>": skipped,<EOL>"<STR_LIT>": failed,<EOL>"<STR_LIT:error>": error,<EOL>"<STR_LIT>": xpassed,<EOL>"<STR_LIT>": xfailed,<EOL>}<EOL>assert obtained == expected<EOL>
Assert that the specified outcomes appear with the respective
        numbers (0 means it didn't occur) in the text output from a test run.