diff --git a/tests/engine/storage/test_local_model_storage.py b/tests/engine/storage/test_local_model_storage.py index 9324c399c948..789aa0638568 100644 --- a/tests/engine/storage/test_local_model_storage.py +++ b/tests/engine/storage/test_local_model_storage.py @@ -2,21 +2,21 @@ import uuid from datetime import datetime from pathlib import Path -from tarsafe import TarSafe import freezegun import pytest from _pytest.monkeypatch import MonkeyPatch from _pytest.tmpdir import TempPathFactory +from tarsafe import TarSafe import rasa.shared.utils.io -from rasa.engine.graph import SchemaNode, GraphSchema, GraphModelConfiguration +from rasa.engine.graph import GraphModelConfiguration, GraphSchema, SchemaNode from rasa.engine.storage.local_model_storage import ( - LocalModelStorage, MODEL_ARCHIVE_METADATA_FILE, + LocalModelStorage, ) -from rasa.engine.storage.storage import ModelStorage, ModelMetadata from rasa.engine.storage.resource import Resource +from rasa.engine.storage.storage import ModelMetadata, ModelStorage from rasa.exceptions import UnsupportedModelVersionError from rasa.shared.core.domain import Domain from rasa.shared.data import TrainingType @@ -96,7 +96,7 @@ def test_read_long_resource_names_windows( domain: Domain, ): model_dir = tmp_path_factory.mktemp("model_dir") - version = "3.5.0" + version = "3.6.21" # full path length > 260 chars # but each component of the path needs to be below 255 chars