If `connection.features.supports_long_model_names` is `False` only then the test will be executed and in that case `allowed_len` will never be `None`