async def METHOD_NAME(tmpdir, mocker):
    formats = ["autograph_widevine"]
    with pytest.raises(Exception) as e:
        await async_main_helper(tmpdir, mocker, formats)
        assert e.args[0] == "Widevine format is enabled, but widevine_cert is not defined"