Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianshu Cheng authored and Tianshu Cheng committed Nov 27, 2024
1 parent 4764df1 commit 91f4ad9
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 76 deletions.
9 changes: 6 additions & 3 deletions truss/tests/test_custom_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@


@pytest.mark.integration
def test_docker_server_truss(test_data_path):
def test_custom_server_truss(test_data_path):
with ensure_kill_all():
truss_dir = test_data_path / "test_docker_server_truss"

print("Running test_custom_server_truss")
truss_dir = test_data_path / "test_custom_server_truss"
print(f"truss_dir: {truss_dir}")
tr = TrussHandle(truss_dir)
print("Setting secret")
LocalConfigHandler.set_secret("hf_access_token", "123")
try:
print("Starting container")
_ = tr.docker_run(
local_port=8090,
detach=True,
Expand Down
Empty file.
20 changes: 0 additions & 20 deletions truss/tests/test_data/test_docker_server_truss/config.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

0 comments on commit 91f4ad9

Please sign in to comment.