mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 10:19:46 +00:00
mv sdk tests
This commit is contained in:
parent
815f4af6cf
commit
3cf4fdb740
13 changed files with 549 additions and 0 deletions
15
tests/client-sdk/conftest.py
Normal file
15
tests/client-sdk/conftest.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
import pytest
|
||||
|
||||
from llama_stack.providers.tests.env import get_env_or_fail
|
||||
from llama_stack_client import LlamaStackClient
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def llama_stack_client():
|
||||
"""Fixture to create a fresh LlamaStackClient instance for each test"""
|
||||
return LlamaStackClient(base_url=get_env_or_fail("LLAMA_STACK_BASE_URL"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue