(self, many_tests_files, pytester: Pytester)
| 2237 | ) |
| 2238 | |
| 2239 | def test_times(self, many_tests_files, pytester: Pytester) -> None: |
| 2240 | pytester.makeini( |
| 2241 | """ |
| 2242 | [pytest] |
| 2243 | console_output_style = times |
| 2244 | """ |
| 2245 | ) |
| 2246 | output = pytester.runpytest() |
| 2247 | output.stdout.re_match_lines( |
| 2248 | [ |
| 2249 | r"test_bar.py \.{10} \s+ \d{1,3}[\.[a-z\ ]{1,2}\d{0,3}\w{1,2}$", |
| 2250 | r"test_foo.py \.{5} \s+ \d{1,3}[\.[a-z\ ]{1,2}\d{0,3}\w{1,2}$", |
| 2251 | r"test_foobar.py \.{5} \s+ \d{1,3}[\.[a-z\ ]{1,2}\d{0,3}\w{1,2}$", |
| 2252 | ] |
| 2253 | ) |
| 2254 | |
| 2255 | def test_times_multiline( |
| 2256 | self, more_tests_files, monkeypatch, pytester: Pytester |
nothing calls this directly
no test coverage detected