Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 0d673f8

Browse files
sangjanaivansangpfiev
authored andcommitted
chore: e2e test
1 parent c90d3f6 commit 0d673f8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

engine/e2e-test/cli/engines/test_cli_engine_uninstall.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ def setup_and_teardown(self):
2424

2525
@pytest.mark.asyncio
2626
async def test_engines_uninstall_llamacpp_should_be_successfully(self):
27-
response = requests.post("http://localhost:3928/v1/engines/llama-cpp/install")
27+
data = {"version": "b5371"}
28+
response = requests.post(
29+
"http://localhost:3928/v1/engines/llama-cpp/install", json=data
30+
)
2831
await wait_for_websocket_download_success_event(timeout=None)
2932
exit_code, output, error = run(
3033
"Uninstall engine", ["engines", "uninstall", "llama-cpp"]

engine/e2e-test/cli/model/test_cli_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def setup_and_teardown(self):
3636
run("Delete model", ["models", "delete", "tinyllama:1b"])
3737
stop_server()
3838

39+
@pytest.mark.skipif(platform.system() == "Windows", reason="Skip test for Windows")
3940
def test_model_pull_with_direct_url_should_be_success(self):
4041
exit_code, output, error = run(
4142
"Pull model",

0 commit comments

Comments
 (0)