Daniel Hahler
6ddf7c3d42
pytester: Hookrecorder: improve assertoutcome
Before:
def assertoutcome(self, passed: int = 0, skipped: int = 0, failed: int = 0) -> None:
realpassed, realskipped, realfailed = self.listoutcomes()
assert passed == len(realpassed)
> assert skipped == len(realskipped)
E assert 1 == 0
E + where 0 = len([])
After:
> reprec = testdir.inline_run(testpath, "-s")
E AssertionError: ([], [], [<TestReport 'nodeid' when='call' outcome='failed'>])
E assert {'failed': 1, 'passed': 0, 'skipped': 0} == {'failed': 0, 'passed': 0, 'skipped': 1}
2019-11-13 13:48:20 +01:00
..
2019-11-07 14:43:46 +01:00
2019-08-09 10:55:06 -03:00
2019-06-03 12:08:01 -03:00
2019-10-26 16:28:17 +03:00
2019-11-06 22:08:10 +01:00
2019-10-25 11:31:33 -04:00
2019-11-06 14:22:07 +01:00
2019-11-07 12:29:36 +01:00
2019-10-28 13:43:42 +01:00
2019-08-02 16:52:51 +02:00
2019-06-03 12:08:02 -03:00
2019-11-13 13:48:20 +01:00
2019-11-07 20:57:45 +01:00
2019-11-06 00:22:46 +01:00
2019-11-06 18:44:19 +01:00
2019-11-07 17:50:27 -03:00
2019-11-10 10:21:55 +02:00
2019-10-23 04:34:29 +02:00
2019-10-06 18:05:24 -03:00
2019-10-27 15:16:24 +00:00
2019-07-04 15:00:10 +02:00
2019-10-28 13:44:06 +01:00
2019-06-15 06:48:00 +02:00
2019-10-14 22:45:25 +02:00
2019-11-08 14:16:34 -03:00
2019-10-22 23:44:52 +02:00
2019-06-03 12:08:01 -03:00
2019-06-03 12:08:02 -03:00
2019-06-03 12:08:01 -03:00
2019-10-31 23:19:35 -05:00
2019-10-31 23:19:35 -05:00
2019-08-30 15:34:03 -04:00
2019-06-24 09:48:38 -07:00
2019-11-07 11:48:51 +01:00
2019-10-30 14:18:13 -04:00
2019-10-27 12:32:14 +01:00
2019-07-14 14:28:21 +03:00
2019-10-30 09:43:33 -03:00
2019-10-30 09:43:33 -03:00
2019-10-26 16:33:57 +03:00
2019-10-27 15:16:24 +00:00
2019-10-23 04:34:29 +02:00
2019-11-06 22:08:10 +01:00
2019-10-21 00:08:03 +02:00
2019-10-15 00:41:05 +02:00
2019-10-29 13:11:02 +01:00
2019-11-06 14:22:07 +01:00
2019-11-06 00:28:45 +01:00
2019-11-07 12:50:04 +01:00
2019-10-19 09:03:26 +02:00
2019-06-15 11:48:34 -03:00
2019-11-03 21:14:24 +01:00