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

Commit d80ddc8

Browse files
chore: remove engine before installing for e2e test (#2113)
Co-authored-by: sangjanai <[email protected]>
1 parent 994df07 commit d80ddc8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

engine/e2e-test/api/engines/test_api_get_list_engine.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ def test_api_get_list_engines_successfully(self):
2626
engine= "llama-cpp"
2727
name= "linux-amd64-avx"
2828
version= "v0.1.35-27.10.24"
29+
30+
post_install_url = f"http://localhost:3928/v1/engines/{engine}/install"
31+
response = requests.delete(
32+
post_install_url
33+
)
2934

3035
data = {"version": version, "variant": name}
3136
post_install_url = f"http://localhost:3928/v1/engines/{engine}/install"

0 commit comments

Comments
 (0)