Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ test-integration = "pdm run make test-integration"

[tool.pytest.ini_options]
pythonpath = [
"src"
"src"
]
addopts = [
"--import-mode=importlib",
]
10 changes: 10 additions & 0 deletions tests/configuration/lightspeed-stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: foo bar baz
llama_stack:
# Uses a remote llama-stack service
# The instance would have already been started with a llama-stack-run.yaml file
use_as_library_client: false
# Alternative for "as library use"
# use_as_library_client: true
# library_client_config_path: <path-to-llama-stack-run.yaml-file>
url: http://localhost:8321
api_key: xyzzy
2 changes: 1 addition & 1 deletion tests/unit/test_configuration.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Unit tests for functions defined in src/configuration.py."""

import pytest
from src.configuration import AppConfig
from configuration import AppConfig


def test_default_configuration():
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_log.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Unit tests for functions defined in src/log.py."""

from src.log import get_logger
from log import get_logger


def test_get_logger():
Expand Down