Even though you are running the test only if `supports_long_model_names`, you are using `allowed_len` without checking if it isn't `None` (which is the default).