mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
comments
This commit is contained in:
parent
e955ccbd4f
commit
59b1263090
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import pytest
|
||||||
def dataset_for_test(llama_stack_client):
|
def dataset_for_test(llama_stack_client):
|
||||||
dataset_id = "test_dataset"
|
dataset_id = "test_dataset"
|
||||||
register_dataset(llama_stack_client, dataset_id=dataset_id)
|
register_dataset(llama_stack_client, dataset_id=dataset_id)
|
||||||
yield
|
yield
|
||||||
# Teardown - this always runs, even if the test fails
|
# Teardown - this always runs, even if the test fails
|
||||||
try:
|
try:
|
||||||
llama_stack_client.datasets.unregister(dataset_id)
|
llama_stack_client.datasets.unregister(dataset_id)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue