mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
`DiscoverRunner.run_tests` has a return type of `int`. While `Runner.run_tests` has a wildly different `Tuple[bool, List[str]]`. This refactors it so that we have the correct return type, by passing the additional information about failed tests through a side effect to directly write the failed tests to a file. Note that we have to make `failed_tests_path` optional as otherwise the method signature will not be compatible with the supertype. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
19 KiB
Executable File
19 KiB
Executable File