def METHOD_NAME():
    # Check that it handles bad formats correctly
    params = {"filing": {"output_format": "not_supported"}}
    with pytest.raises(ValueError) as err:
        cli_utils.get_filing_params(params)
    assert "Output format not supported." in err.value.args[0]