(caplog)
| 28 | |
| 29 | |
| 30 | async def test_no_browser(caplog): |
| 31 | caplog.set_level("INFO") |
| 32 | with mock.patch("shutil.which") as which: |
| 33 | which.return_value = False |
| 34 | |
| 35 | b = browser.Browser() |
| 36 | b.start() |
| 37 | assert "platform is not supported" in caplog.text |
| 38 | |
| 39 | |
| 40 | async def test_find_executable_cmd(): |