def test_invalid_band_filters_raises_value_error():
    """Test that providing invalid band_filters raises a ValueError."""
    n_chans = 8
    sfreq = 100
    invalid_band_filters = "invalid_type"  # Not a list or int

    with pytest.raises(ValueError,
                       match="`band_filters` should be a list of tuples"):
        FilterBankLayer(n_chans=n_chans, sfreq=sfreq,
                        band_filters=invalid_band_filters)
Test that providing invalid band_filters raises a ValueError.
test/unit_tests/models/test_modules.py