Skip to content

Commit 526fac8

Browse files
committed
removed unused functions
1 parent 3b9d6cf commit 526fac8

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/runners/test_vllm_model_upload.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from clarifai.client import User
1212
from clarifai.runners.models.model_builder import ModelBuilder
1313

14-
MODEL_PATH = os.path.join(os.path.dirname(__file__), "dummy_vllm_models")
1514
CLARIFAI_USER_ID = os.environ["CLARIFAI_USER_ID"]
1615
CLARIFAI_PAT = os.environ["CLARIFAI_PAT"]
1716
NOW = uuid.uuid4().hex[:10]
@@ -20,8 +19,6 @@
2019
# Set up logging
2120
logger = logging.getLogger(__name__)
2221

23-
pytest.mark.maintainer_approval = pytest.mark.maintainer_approval
24-
2522

2623
def check_app_exists():
2724
"""
@@ -148,10 +145,6 @@ def test_model_uploader_flow(dummy_models_path, caplog):
148145
# The app_id should be updated to the newly created ephemeral one
149146
assert builder.config["model"]["app_id"] == CREATE_APP_ID
150147

151-
# # Validate that the model doesn't exist yet
152-
# # Because we are using a new ephemeral app, it's unlikely to exist
153-
# assert builder.check_model_exists() is False, "Model should not exist on new ephemeral app"
154-
155148
# Create the model (on Clarifai side)
156149
create_resp = builder.maybe_create_model()
157150

@@ -183,8 +176,3 @@ def test_model_uploader_flow(dummy_models_path, caplog):
183176
raise
184177

185178
logger.info(f"Test completed successfully with model_version_id={builder.model_version_id}")
186-
187-
188-
@pytest.fixture
189-
def my_tmp_path(tmp_path):
190-
return tmp_path

0 commit comments

Comments
 (0)